Skip to content

Commit dd51228

Browse files
committed
Don't search for state.json path
Signed-off-by: Michael Crosby <[email protected]>
1 parent ed16170 commit dd51228

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

daemon_config_linux_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,9 @@ version = 1
164164
t.Fatal(err)
165165
}
166166

167-
stateJSONPath := filepath.Join(runtimeRoot, testNamespace, id, "state.json")
168-
if _, err = os.Stat(stateJSONPath); err != nil {
169-
t.Errorf("error while getting stat for %s: %v", stateJSONPath, err)
167+
containerPath := filepath.Join(runtimeRoot, testNamespace, id)
168+
if _, err = os.Stat(containerPath); err != nil {
169+
t.Errorf("error while getting stat for %s: %v", containerPath, err)
170170
}
171171

172172
if err = task.Kill(ctx, syscall.SIGKILL); err != nil {

0 commit comments

Comments
 (0)