Skip to content

Commit

Permalink
update after revieww
Browse files Browse the repository at this point in the history
Signed-off-by: Lou <[email protected]>
  • Loading branch information
Lou committed Mar 1, 2020
1 parent da1b94e commit c725e6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iscsi/iscsi.go
Original file line number Diff line number Diff line change
Expand Up @@ -370,11 +370,11 @@ func DisconnectVolume(c Connector) error {
debug.Printf("Disconnecting volume in path %s.\n", c.DevicePath)
if c.Multipath {
debug.Printf("Removing multipath device.\n")
err := FlushMultipathDevice(c.DevicePath)
devices, err := GetSysDevicesFromMultipathDevice(c.DevicePath)
if err != nil {
return err
}
devices, err := GetSysDevicesFromMultipathDevice(c.DevicePath)
err := FlushMultipathDevice(c.DevicePath)
if err != nil {
return err
}
Expand Down

0 comments on commit c725e6b

Please sign in to comment.