Skip to content

Commit

Permalink
fix comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
Franr committed Dec 15, 2024
1 parent 250534d commit 4036969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leverage/containers/kubectl.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def _scan_clusters(self):
try:
with open(cluster_file) as cluster_yaml_file:
data = ruamel.yaml.safe_load(cluster_yaml_file)
if data.get("type") != MetadataTypes.K8S_CLUSTER:
if data.get("type") != MetadataTypes.K8S_CLUSTER.value:
continue
except Exception as exc:
logger.warning(exc)
Expand Down

0 comments on commit 4036969

Please sign in to comment.