wrapper: fix self.type.capitalise() vs self.type.upper()
This commit is contained in:
parent
75e4efe0d7
commit
ac99b0bca3
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ class BaseWrapper(Wrapper):
|
|||
raise NotImplementedError()
|
||||
|
||||
def is_wrapped(self):
|
||||
return os.getenv('KUPFERBOOTSTRAP_WRAPPED') == self.type.capitalize()
|
||||
return os.getenv('KUPFERBOOTSTRAP_WRAPPED') == self.type.upper()
|
||||
|
||||
def get_bind_mounts_default(self, wrapped_config_path: str = None, ssh_dir: str = None, target_home: str = '/root'):
|
||||
wrapped_config_path = wrapped_config_path or self.wrapped_config_path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue