Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nixops/backends/none.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def get_ssh_private_key_file(self) -> Optional[str]:

def get_ssh_flags(self, *args, **kwargs) -> List[str]:
super_state_flags = super(NoneState, self).get_ssh_flags(*args, **kwargs)
if self.vm_id and self.cur_toplevel and self._ssh_public_key_deployed:
if self.vm_id and self._ssh_public_key_deployed:
key_file = self.get_ssh_private_key_file()
flags = super_state_flags + [
"-o",
Expand Down