Skip to content

Commit

Permalink
Merge pull request #458 from kube-tarian/fix-cluster-get
Browse files Browse the repository at this point in the history
fix manager cluster get api
  • Loading branch information
vramk23 authored Apr 13, 2024
2 parents 78af260 + b9ecad7 commit d4e71e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capten/agent/internal/api/plugin_managed_clusters_apis.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func (a *Agent) GetManagedClusters(ctx context.Context, request *captenpluginspb
}

for _, r := range managedClusters {
_, secretPath, secretKeys, err := a.getContainerRegCredential(ctx, r.Id)
_, secretPath, secretKeys, err := a.getManagedClusterCredential(ctx, r.Id)
if err != nil {
a.log.Errorf("failed to get credential, %v", err)
return &captenpluginspb.GetManagedClustersResponse{
Expand Down

0 comments on commit d4e71e3

Please sign in to comment.