Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix listing apps with cli #506

Merged
merged 1 commit into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion capten/agent/internal/api/agent_cluster_apps.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
2 changes: 1 addition & 1 deletion capten/common-pkg/capten-store/app_config_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Loading