mirror of https://github.com/docker/cli.git
unchecked errors
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
(cherry picked from commit e1c0c7979e
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
c8c14206aa
commit
1f3468bb77
|
@ -166,7 +166,7 @@ func TestRunLogin(t *testing.T) {
|
|||
|
||||
if tc.inputStoredCred != nil {
|
||||
cred := *tc.inputStoredCred
|
||||
configfile.GetCredentialsStore(cred.ServerAddress).Store(cred)
|
||||
assert.NilError(t, configfile.GetCredentialsStore(cred.ServerAddress).Store(cred))
|
||||
}
|
||||
loginErr := runLogin(cli, tc.inputLoginOption)
|
||||
if tc.expectedErr != "" {
|
||||
|
|
|
@ -202,9 +202,9 @@ func TestToServiceNetwork(t *testing.T) {
|
|||
}
|
||||
|
||||
nwo := opts.NetworkOpt{}
|
||||
nwo.Set("zzz-network")
|
||||
nwo.Set("mmm-network")
|
||||
nwo.Set("aaa-network")
|
||||
assert.NilError(t, nwo.Set("zzz-network"))
|
||||
assert.NilError(t, nwo.Set("mmm-network"))
|
||||
assert.NilError(t, nwo.Set("aaa-network"))
|
||||
|
||||
o := newServiceOptions()
|
||||
o.mode = "replicated"
|
||||
|
|
Loading…
Reference in New Issue