Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Commit eaf8efc

Browse files
committed
Use the correct sandbox config.
Signed-off-by: Lantao Liu <[email protected]>
1 parent afbdeac commit eaf8efc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/server/container_create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ func (c *criService) CreateContainer(ctx context.Context, r *runtime.CreateConta
191191

192192
// Get container log path.
193193
if config.GetLogPath() != "" {
194-
meta.LogPath = filepath.Join(sandbox.Config.GetLogDirectory(), config.GetLogPath())
194+
meta.LogPath = filepath.Join(sandboxConfig.GetLogDirectory(), config.GetLogPath())
195195
}
196196

197197
containerIO, err := cio.NewContainerIO(id,

0 commit comments

Comments
 (0)