hostman: fix detection of ovn controller version

This commit is contained in:
Yousong Zhou
2020-02-04 17:36:13 +08:00
parent 51b2f4d3af
commit aae5d0dc33
+1 -1
View File
@@ -107,7 +107,7 @@ func (oh *OvnHelper) mustPrepService() {
}
func MustGetOvnVersion() string {
output, err := procutils.NewCommand("ovn-controller", "--version").Output()
output, err := procutils.NewRemoteCommandAsFarAsPossible("ovn-controller", "--version").Output()
if err != nil {
return ""
}