Skip to content

Commit

Permalink
openshift: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
karmab committed Nov 18, 2024
1 parent 30edffa commit d8095ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kvirt/cluster/openshift/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,7 @@ def create(config, plandir, cluster, overrides, dnsconfig=None):
static_networking_ctlplane, static_networking_worker = False, False
macentries = []
custom_names = {}
vmrules = [] if config.k.type == 'kvm' else overrides.get('vmrules', [])
vmrules = [] if provider == 'kvm' else overrides.get('vmrules', [])
for entry in vmrules:
if isinstance(entry, dict):
hostname = list(entry.keys())[0]
Expand Down

0 comments on commit d8095ed

Please sign in to comment.