Skip to content

Commit

Permalink
rebasing on 24.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kachaudhary-px committed Sep 9, 2024
1 parent f4bc340 commit f7842a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/storage/portworx/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -1250,7 +1250,7 @@ func getStorageNodeMappingFromRPC(
k8sClient client.Client,
) (map[string]string, map[string]string, error) {
nodeClient := api.NewOpenStorageNodeClient(sdkConn)
ctx, err := SetupContextWithToken(context.Background(), cluster, k8sClient, false)
ctx, err := SetupContextWithToken(context.Background(), cluster, k8sClient)
if err != nil {
return nil, nil, err
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/portworxdiag/portworxdiag.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ func (c *Controller) getNodeIDsWithSelectedVolumes(diag *diagv1.PortworxDiag, st
nodeIDMap := map[string]bool{}

volumeClient := api.NewOpenStorageVolumeClient(c.grpcConn)
ctx, err := pxutil.SetupContextWithToken(context.Background(), stc, c.client, false)
ctx, err := pxutil.SetupContextWithToken(context.Background(), stc, c.client)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit f7842a1

Please sign in to comment.