move virt-freezer log message
@@ -82,12 +82,13 @@ func main() {
os.Exit(1)
}
- log.Log.Infof("Guest agent version is %s", info.GAVersion)
if info.GAVersion == "" {
log.Log.Info("No guest agent, exiting")
os.Exit(0)
}
+ log.Log.Infof("Guest agent version is %s", info.GAVersion)
+
if *freeze {
err = client.FreezeVirtualMachine(vmi, *unfreezeTimeoutSeconds)
if err != nil {
