Made search for `Created` stricter to not cause accidental matches
This commit is contained in:
parent
d96dc1ba09
commit
f02bce0fdc
|
@ -64,7 +64,7 @@ local docker_widget = wibox.widget {
|
|||
|
||||
local parse_container = function(line)
|
||||
local name, id, image, how_long, size, actual_status
|
||||
if string.find(line, 'Created') then
|
||||
if string.find(line, '::Created::') then
|
||||
name, id, image, size = line:match(DOCKER_CREATED_STATUS_PATTERN)
|
||||
actual_status = 'Created'
|
||||
how_long = 'Never started'
|
||||
|
|
Loading…
Reference in New Issue