Skip to content

Commit

Permalink
Merge branch 'main' into becca/make-containers
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaMahany authored May 9, 2023
2 parents 81aec6b + 33fab40 commit bac2308
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/launcher/launcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@ func runLauncher(ctx context.Context, cancel func(), opts *launcher.Options) err

// determine the root directory, create one if it's not provided
rootDirectory := opts.RootDirectory
var err error
if rootDirectory == "" {
rootDirectory, err := agent.MkdirTemp(defaultRootDirectory)
rootDirectory, err = agent.MkdirTemp(defaultRootDirectory)
if err != nil {
return fmt.Errorf("creating temporary root directory: %w", err)
}
Expand Down

0 comments on commit bac2308

Please sign in to comment.