Skip to content

Commit bba9037

Browse files
committed
nova: refactor the IronicUnderstackDriver to make testing easier
This way our modified code is almost all in separate method and it's clear what has been changed.
1 parent 843c57e commit bba9037

File tree

1 file changed

+3
-1
lines changed
  • python/nova-understack/ironic_understack

1 file changed

+3
-1
lines changed

python/nova-understack/ironic_understack/driver.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,9 @@ def _generate_configdrive(
114114
extra_md = {}
115115

116116
### Understack modified code START
117-
network_metadata = self._understack_get_network_metadata(instance, node, network_info)
117+
network_metadata = self._understack_get_network_metadata(
118+
instance, node, network_info
119+
)
118120
### Understack modified code END
119121

120122
i_meta = instance_metadata.InstanceMetadata(

0 commit comments

Comments
 (0)