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

Commit d35c674

Browse files
authored
Merge pull request #1068 from Random-Liu/cherrypick-#1055-release-1.0
Cherrypick #1055 release 1.0
2 parents 64e3e2d + 90bc4a6 commit d35c674

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)