mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
hostman: fix detection of ovn controller version
This commit is contained in:
@@ -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 ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user