Skip to content

Commit 86bf981

Browse files
author
Fernando Ojeda
committed
Fixed vlan subnet issue.
1 parent 0fdd8dd commit 86bf981

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

SoftLayer/managers/vs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ def _generate_create_dict(
415415

416416
def _create_network_components(
417417
self, public_vlan=None, private_vlan=None,
418-
private_subnet=None, public_subnet=None, **kwargs):
418+
private_subnet=None, public_subnet=None):
419419

420420
if private_vlan and public_vlan:
421421
if private_subnet and public_subnet:

tests/managers/vs_tests.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -621,10 +621,10 @@ def test_edit_full(self):
621621

622622
self.assertEqual(result, True)
623623
args = ({
624-
'hostname': 'new-host',
625-
'domain': 'new.sftlyr.ws',
626-
'notes': 'random notes',
627-
},)
624+
'hostname': 'new-host',
625+
'domain': 'new.sftlyr.ws',
626+
'notes': 'random notes',
627+
},)
628628
self.assert_called_with('SoftLayer_Virtual_Guest', 'editObject',
629629
identifier=100,
630630
args=args)

0 commit comments

Comments
 (0)