Skip to content

Commit

Permalink
fixup! fixup! Additional fixes (to be squashed)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSirenko committed Nov 4, 2024
1 parent f81d51d commit 0099593
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func main() {
klog.ErrorS(err, "failed to get version")
klog.FlushAndExit(klog.ExitFlushTimeout, 1)
}
//nolint:forbidigo
//nolint:forbidigo // Print version info without klog/timestamp
fmt.Println(versionInfo)
os.Exit(0)
}
Expand Down
4 changes: 2 additions & 2 deletions pkg/driver/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -486,11 +486,11 @@ func (d *ControllerService) ControllerGetCapabilities(ctx context.Context, req *
klog.V(4).InfoS("ControllerGetCapabilities: called", "args", req)

caps := make([]*csi.ControllerServiceCapability, 0, len(controllerCaps))
for _, cap := range controllerCaps {
for _, capability := range controllerCaps {
c := &csi.ControllerServiceCapability{
Type: &csi.ControllerServiceCapability_Rpc{
Rpc: &csi.ControllerServiceCapability_RPC{
Type: cap,
Type: capability,
},
},
}
Expand Down

0 comments on commit 0099593

Please sign in to comment.