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

Commit 90bc4a6

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/server/container_create.go

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

202202
// Get container log path.
203203
if config.GetLogPath() != "" {
204-
meta.LogPath = filepath.Join(sandbox.Config.GetLogDirectory(), config.GetLogPath())
204+
meta.LogPath = filepath.Join(sandboxConfig.GetLogDirectory(), config.GetLogPath())
205205
}
206206

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

0 commit comments

Comments
 (0)