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

Commit

Permalink
Merge pull request #1067 from Random-Liu/cherrypick-#1055-release-1.2
Browse files Browse the repository at this point in the history
Cherrypick #1055 release 1.2
  • Loading branch information
Random-Liu committed Mar 1, 2019
2 parents afbdeac + eaf8efc commit 9c25ab5
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 @@ -191,7 +191,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 9c25ab5

Please sign in to comment.