Skip to content

Commit

Permalink
Merge pull request #1281 from jedevc/fixup-1273
Browse files Browse the repository at this point in the history
Prevent duplicate "failed to find driver" message
  • Loading branch information
tonistiigi authored Aug 18, 2022
2 parents 4fd3ec1 + 7f9cad1 commit 1223e75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func driversForNodeGroup(ctx context.Context, dockerCli command.Cli, ng *store.N
var err error
f, err = driver.GetFactory(ng.Driver, true)
if err != nil {
return nil, errors.Errorf("failed to find driver %q", f)
return nil, err
}
} else {
// empty driver means nodegroup was implicitly created as a default
Expand Down

0 comments on commit 1223e75

Please sign in to comment.