unchecked errors

Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
This commit is contained in:
Silvin Lubecki 2019-04-02 13:03:49 +02:00 committed by Sebastiaan van Stijn
parent 584da37756
commit e1c0c7979e
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
2 changed files with 4 additions and 4 deletions

View File

@ -166,7 +166,7 @@ func TestRunLogin(t *testing.T) {
if tc.inputStoredCred != nil { if tc.inputStoredCred != nil {
cred := *tc.inputStoredCred cred := *tc.inputStoredCred
configfile.GetCredentialsStore(cred.ServerAddress).Store(cred) assert.NilError(t, configfile.GetCredentialsStore(cred.ServerAddress).Store(cred))
} }
loginErr := runLogin(cli, tc.inputLoginOption) loginErr := runLogin(cli, tc.inputLoginOption)
if tc.expectedErr != "" { if tc.expectedErr != "" {

View File

@ -202,9 +202,9 @@ func TestToServiceNetwork(t *testing.T) {
} }
nwo := opts.NetworkOpt{} nwo := opts.NetworkOpt{}
nwo.Set("zzz-network") assert.NilError(t, nwo.Set("zzz-network"))
nwo.Set("mmm-network") assert.NilError(t, nwo.Set("mmm-network"))
nwo.Set("aaa-network") assert.NilError(t, nwo.Set("aaa-network"))
o := newServiceOptions() o := newServiceOptions()
o.mode = "replicated" o.mode = "replicated"