Merge pull request #1281 from jedevc/fixup-1273

Prevent duplicate "failed to find driver" message
pull/1284/head
Tõnis Tiigi 2 years ago committed by GitHub
commit 1223e759a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -63,7 +63,7 @@ func driversForNodeGroup(ctx context.Context, dockerCli command.Cli, ng *store.N
var err error var err error
f, err = driver.GetFactory(ng.Driver, true) f, err = driver.GetFactory(ng.Driver, true)
if err != nil { if err != nil {
return nil, errors.Errorf("failed to find driver %q", f) return nil, err
} }
} else { } else {
// empty driver means nodegroup was implicitly created as a default // empty driver means nodegroup was implicitly created as a default

Loading…
Cancel
Save