Skip to content

Commit

Permalink
Harmonize args to ssh_connect_blade and ssh_connect_blades
Browse files Browse the repository at this point in the history
  • Loading branch information
erl-hpe committed Jul 1, 2024
1 parent 5eb9a85 commit a1b18ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vtds_provider_gcp/api_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def ssh_connect_blade(self, blade_type, instance, remote_port):

@contextmanager
@abstractmethod
def ssh_connect_blades(self, remote_port=22, blade_types=None):
def ssh_connect_blades(self, blade_types=None, remote_port=22):
"""Establish external connections to the specified remote port
on all the Virtual Blade instances on all the Virtual Blade
types listed by name in 'blade_types'. If 'blade_types' is not
Expand Down
2 changes: 1 addition & 1 deletion vtds_provider_gcp/private/api_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def ssh_connect_blade(self, blade_type, instance, remote_port=22):
connection._disconnect() # pylint: disable=protected-access

@contextmanager
def ssh_connect_blades(self, remote_port=22, blade_types=None):
def ssh_connect_blades(self, blade_types=None, remote_port=22):
"""Establish external connections to the SSH server on all the
Virtual Blade instances on all the Virtual Blade types listed
by name in 'blade_types'. If 'blade_types' is not provided or
Expand Down

0 comments on commit a1b18ff

Please sign in to comment.