mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-02-04 07:11:49 +00:00
Increase verbosity for mount failure messages (#74)
Move these messages to level 4 not to bother people, eventually this is a usual case for rootless.
This commit is contained in:
parent
015bf00ab0
commit
7cf4b5e63a
1 changed files with 2 additions and 2 deletions
|
|
@ -141,9 +141,9 @@ class Connection(ConnectionBase):
|
|||
super(Connection, self)._connect()
|
||||
rc, self._mount_point, stderr = self._podman("mount")
|
||||
if rc != 0:
|
||||
display.v("Failed to mount container %s: %s" % (self._container_id, stderr.strip()))
|
||||
display.vvvv("Failed to mount container %s: %s" % (self._container_id, stderr.strip()))
|
||||
elif not os.listdir(self._mount_point.strip()):
|
||||
display.v("Failed to mount container with CGroups2: empty dir %s" % self._mount_point.strip())
|
||||
display.vvvv("Failed to mount container with CGroups2: empty dir %s" % self._mount_point.strip())
|
||||
self._mount_point = None
|
||||
else:
|
||||
self._mount_point = self._mount_point.strip()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue