Skip to content

Commit

Permalink
changes suggested in review
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamlendu Shekhar committed Feb 29, 2024
1 parent 48ca66d commit 1c31e36
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/ocm-backplane/managedJob/logsManagedJob.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,8 @@ func newLogsManagedJobCmd() *cobra.Command {
}

if managerFlag {
if mcid, clusterName, _, err := ocm.DefaultOCMInterface.GetManagingCluster(bpCluster.ClusterID); err == nil {
if mcid, _, _, err := ocm.DefaultOCMInterface.GetManagingCluster(bpCluster.ClusterID); err == nil {
bpCluster, err = utils.DefaultClusterUtils.GetBackplaneCluster(mcid)
_ = clusterName
if err != nil {
return err
}
Expand Down

0 comments on commit 1c31e36

Please sign in to comment.