Skip to content

Commit

Permalink
Merge pull request #12 from Huawei/2.2.RC2
Browse files Browse the repository at this point in the history
2.2.RC2
  • Loading branch information
doubletao318 authored Nov 19, 2020
2 parents f5206ff + 5bc7244 commit 8d41e47
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/connector/iscsi/iscsi_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,8 @@ func tryConnectVolume(connMap map[string]interface{}) (string, error) {
return "", err
}

allSessions, err := utils.ExecShellCmd("iscsiadm -m session")
if err != nil {
return "", err
}
// must ignore the error
allSessions, _ := utils.ExecShellCmd("iscsiadm -m session")

var mPath string
var wait sync.WaitGroup
Expand Down

0 comments on commit 8d41e47

Please sign in to comment.