Skip to content

Commit

Permalink
docker runtime to issue err instead of log.fatal
Browse files Browse the repository at this point in the history
  • Loading branch information
steiler committed Jun 16, 2021
1 parent 77d934e commit 44e13ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (c *DockerRuntime) Init(opts ...runtime.RuntimeOption) error {
var err error
c.Client, err = dockerC.NewClientWithOpts(dockerC.FromEnv, dockerC.WithAPIVersionNegotiation())
if err != nil {
log.Fatalf("failed to create docker client: %v", err)
return err
}
for _, o := range opts {
o(c)
Expand Down

0 comments on commit 44e13ad

Please sign in to comment.