Dev Env should not use sudo by default #85

Merged
abereziny merged 1 commit from abereziny/frostfs-testlib:bugfix-use-false-for-dev-env-host-by-default into master 2023-09-19 08:52:42 +00:00
Showing only changes of commit b627a56819 - Show all commits

View file

@ -61,7 +61,7 @@ class ServiceAttributes(ParsedAttributes):
class DockerHost(Host): class DockerHost(Host):
"""Manages services hosted in Docker containers running on a local or remote machine.""" """Manages services hosted in Docker containers running on a local or remote machine."""
def get_shell(self, sudo: bool = True) -> Shell: def get_shell(self, sudo: bool = False) -> Shell:
host_attributes = HostAttributes.parse(self._config.attributes) host_attributes = HostAttributes.parse(self._config.attributes)
command_inspectors = [] command_inspectors = []
if sudo: if sudo: