]> Frank Brehm's Git Trees - pixelpark/create-terraform.git/commitdiff
Extendig debug output.
authorFrank Brehm <frank.brehm@pixelpark.com>
Mon, 6 Sep 2021 14:53:13 +0000 (16:53 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Mon, 6 Sep 2021 14:53:13 +0000 (16:53 +0200)
lib/cr_tf/terraform/vm.py

index bc7ca7c5b65cab799046ee0b187607694c748bed..1c8219d6c8be27d55f8b7b7c5f999fc5bb933b9f 100644 (file)
@@ -380,10 +380,10 @@ class TerraformVm(HandlingObject):
             return True
 
         if key.lower() == 'vsphere' and value:
-            if verbose > 1:
+            if verbose > 2:
                 LOG.debug(_("Applying vSphere {!r} to VM.").format(value))
             vm.vsphere = value
-            return
+            return True
 
         if key.lower() == 'cluster':
             vm.cluster = value