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

Commit

Permalink
Use the correct sandbox config.
Browse files Browse the repository at this point in the history
Signed-off-by: Lantao Liu <lantaol@google.com>
  • Loading branch information
Random-Liu committed Feb 28, 2019
1 parent 64e3e2d commit 90bc4a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/server/container_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func (c *criService) CreateContainer(ctx context.Context, r *runtime.CreateConta

// Get container log path.
if config.GetLogPath() != "" {
meta.LogPath = filepath.Join(sandbox.Config.GetLogDirectory(), config.GetLogPath())
meta.LogPath = filepath.Join(sandboxConfig.GetLogDirectory(), config.GetLogPath())
}

containerIO, err := cio.NewContainerIO(id,
Expand Down

0 comments on commit 90bc4a6

Please sign in to comment.