diff --git a/capten/agent/internal/api/agent_cluster_apps.go b/capten/agent/internal/api/agent_cluster_apps.go index dbceab25..92b4c873 100644 --- a/capten/agent/internal/api/agent_cluster_apps.go +++ b/capten/agent/internal/api/agent_cluster_apps.go @@ -154,7 +154,7 @@ func (a *Agent) DeployDefaultApps(ctx context.Context, request *agentpb.DeployDe return nil, fmt.Errorf("not implemented") } -func (a *Agent) GetClusterDefaultApps(ctx context.Context, request *agentpb.GetDefaultAppsStatusRequest) ( +func (a *Agent) GetDefaultAppsStatus(ctx context.Context, request *agentpb.GetDefaultAppsStatusRequest) ( *agentpb.GetDefaultAppsStatusResponse, error) { return nil, fmt.Errorf("not implemented") } diff --git a/capten/common-pkg/capten-store/app_config_store.go b/capten/common-pkg/capten-store/app_config_store.go index 59a5cf4b..9b8c1dd0 100644 --- a/capten/common-pkg/capten-store/app_config_store.go +++ b/capten/common-pkg/capten-store/app_config_store.go @@ -112,7 +112,7 @@ func (a *Store) GetAllApps() ([]*agentpb.SyncAppData, error) { return nil, fmt.Errorf("failed to fetch apps: %v", err.Error()) } - var appData []*agentpb.SyncAppData + appData := []*agentpb.SyncAppData{} for _, ac := range appConfigs { overrideValues, err := base64.StdEncoding.DecodeString(ac.OverrideValues) if err != nil {