diff options
author | opswill <will@nixops.org> | 2025-06-17 23:02:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-17 17:02:07 +0200 |
commit | 5ae3924234f9ffaa2ffda7e9fc52c2b3518a85e2 (patch) | |
tree | 9b29119041ad674eece28e789fdd52e1836ace33 /op-mode-definitions | |
parent | 8f0d339cbb5a4ae78785def134685c13ae27219e (diff) | |
download | vyos-1x-5ae3924234f9ffaa2ffda7e9fc52c2b3518a85e2.tar.gz vyos-1x-5ae3924234f9ffaa2ffda7e9fc52c2b3518a85e2.zip |
container: T7473: fix show/monitor container log failed when log-driver is journald
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/container.xml.in | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/op-mode-definitions/container.xml.in b/op-mode-definitions/container.xml.in index df28a792c..70ab4b6e5 100644 --- a/op-mode-definitions/container.xml.in +++ b/op-mode-definitions/container.xml.in @@ -89,7 +89,7 @@ <path>container name</path> </completionHelp> </properties> - <command>podman logs --follow --names "$4"</command> + <command>${vyos_op_scripts_dir}/container.py show_log --follow --name "$4"</command> </tagNode> </children> </node> @@ -132,8 +132,7 @@ <path>container name</path> </completionHelp> </properties> - <!-- no admin check --> - <command>podman logs --names "$4"</command> + <command>${vyos_op_scripts_dir}/container.py show_log --name "$4"</command> </tagNode> <node name="network"> <properties> @@ -162,7 +161,7 @@ <path>container name</path> </completionHelp> </properties> - <command>podman logs --names "$4"</command> + <command>${vyos_op_scripts_dir}/container.py show_log --name "$4"</command> </tagNode> </children> </node> |