diff options
author | Simon Rettberg | 2023-07-27 14:14:40 +0200 |
---|---|---|
committer | Simon Rettberg | 2023-07-27 14:14:40 +0200 |
commit | 00c7444d23b1b0ab9bebb4546ad48a56362fe6c7 (patch) | |
tree | 63f07753e2f573784da2ab2593349f811f6b8fea /src/main/java | |
parent | [libvirt] Add methods for setting CPU migratable and pinning (diff) | |
download | master-sync-shared-00c7444d23b1b0ab9bebb4546ad48a56362fe6c7.tar.gz master-sync-shared-00c7444d23b1b0ab9bebb4546ad48a56362fe6c7.tar.xz master-sync-shared-00c7444d23b1b0ab9bebb4546ad48a56362fe6c7.zip |
[libvirt] Fix expression: Wrong variable used
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/openslx/libvirt/xml/LibvirtXmlEditable.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/openslx/libvirt/xml/LibvirtXmlEditable.java b/src/main/java/org/openslx/libvirt/xml/LibvirtXmlEditable.java index c97af59..0143e46 100644 --- a/src/main/java/org/openslx/libvirt/xml/LibvirtXmlEditable.java +++ b/src/main/java/org/openslx/libvirt/xml/LibvirtXmlEditable.java @@ -133,7 +133,7 @@ public interface LibvirtXmlEditable public default boolean getXmlElementAttributeValueAsBool( String attributeName ) { final String attributeValue = this.getXmlElementAttributeValue( attributeName ); - return "yes".equals( attributeValue ) || "on".equals( attributeValue ) || "true".equals( attributeName ); + return "yes".equals( attributeValue ) || "on".equals( attributeValue ) || "true".equals( attributeValue ); } /** |