Skip to content

Commit

Permalink
Merge branch '599-kubeconfig-helper' of github.com:binbashar/leverage…
Browse files Browse the repository at this point in the history
… into 599-kubeconfig-helper
  • Loading branch information
Franr committed Jan 2, 2025
2 parents 3b6a54d + 4036969 commit b3da374
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 b3da374

Please sign in to comment.