mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Display docker container name
This commit is contained in:
parent
83a0e9ff0b
commit
b82cae8457
7 changed files with 28 additions and 0 deletions
|
|
@ -231,6 +231,8 @@ end
|
|||
function format_utils.formatContainer(cont)
|
||||
if cont["k8s.name"] then
|
||||
return cont["k8s.name"]
|
||||
elseif cont["docker.name"] then
|
||||
return cont["docker.name"]
|
||||
end
|
||||
|
||||
return cont["id"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue