Skip to content

Commit

Permalink
fix: format issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mgandharva committed Jan 13, 2025
1 parent dcb3672 commit 75cadb7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/karavictl/cmd/role.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func validatePowerMaxStorageResourcePool(ctx context.Context, storageSystemDetai
}

epURL.Scheme = "https"
powerMaxClient, err := pmax.NewClientWithArgs(epURL.String(), "CSM-Authz", true, false,"")
powerMaxClient, err := pmax.NewClientWithArgs(epURL.String(), "CSM-Authz", true, false, "")
if err != nil {
return err
}
Expand Down
2 changes: 1 addition & 1 deletion internal/proxy/powermax_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ func (s *PowerMaxSystem) volumeModifyHandler(next http.Handler, enf *quota.Redis
}

// Determine which pool this SG exists within, as it will form the quota key.
client, err := pmax.NewClientWithArgs(s.Endpoint, appName, true, false,"")
client, err := pmax.NewClientWithArgs(s.Endpoint, appName, true, false, "")
if err != nil {
writeError(w, "powermax", "failed to build powermax client", http.StatusInternalServerError, s.log)
return
Expand Down
2 changes: 1 addition & 1 deletion internal/role-service/validate/powermax.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func PowerMax(ctx context.Context, log *logrus.Entry, system storage.System, sys
}).Debug("Establishing connection to PowerMax")

epURL.Scheme = "https"
powerMaxClient, err := pmax.NewClientWithArgs(epURL.String(), "CSM-Authz", true, false,"")
powerMaxClient, err := pmax.NewClientWithArgs(epURL.String(), "CSM-Authz", true, false, "")
if err != nil {
return err
}
Expand Down
2 changes: 1 addition & 1 deletion internal/storage-service/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func validatePowermax(ctx context.Context, _ *logrus.Entry, system storage.Syste
}

epURL.Scheme = "https"
powerMaxClient, err := pmax.NewClientWithArgs(epURL.String(), "CSM-Authz", true, false,"")
powerMaxClient, err := pmax.NewClientWithArgs(epURL.String(), "CSM-Authz", true, false, "")
if err != nil {
return err
}
Expand Down

0 comments on commit 75cadb7

Please sign in to comment.