fix(baremetal): try clear jbod devices before create (#14182)

This commit is contained in:
Zexi Li
2022-05-01 21:36:11 +08:00
committed by GitHub
parent e9f4c131c2
commit dbe828cdee
2 changed files with 18 additions and 6 deletions
+1 -1
View File
@@ -180,7 +180,7 @@ func (s *Client) run(parseOutput bool, cmds []string, input io.Reader, withPty b
}
}
log.Debugf("Run command: %s", cmd)
log.Debugf("Run command(%s@%s): %s", s.config.Username, s.config.Host, cmd)
var stdOut bytes.Buffer
var stdErr bytes.Buffer
session.Stdout = &stdOut