Skip to content

Commit 95978a1

Browse files
committed
Fix variable assignment in iscsi library
Build issue# vendor/github.com/kubernetes-csi/csi-lib-iscsi/iscsi/iscsi.go:379:7: no new variables on left side of := Building iscsiplugin for GOOS= GOARCH= failed, see error(s) above. make: *** [release-tools/build.make:81: build-iscsiplugin] Error 1 Signed-off-by: Humble Chirammal <[email protected]>
1 parent 4eea777 commit 95978a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iscsi/iscsi.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ func DisconnectVolume(c Connector) error {
376376
if err != nil {
377377
return err
378378
}
379-
err := FlushMultipathDevice(c.DevicePath)
379+
err = FlushMultipathDevice(c.DevicePath)
380380
if err != nil {
381381
return err
382382
}

0 commit comments

Comments
 (0)