Skip to content

Commit 548777a

Browse files
authored
Fix errors when using invalid authentication method (#43)
1 parent 5b1f463 commit 548777a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apptrust/commands/utils/utils.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ func ServerDetailsByFlags(ctx *components.Context) (*coreConfig.ServerDetails, e
3131
return nil, err
3232
}
3333
if serverDetails.Url == "" {
34-
return nil, fmt.Errorf("platform URL is mandatory for evidence commands")
34+
return nil, fmt.Errorf("platform URL is mandatory for AppTrust commands")
3535
}
3636
if serverDetails.GetUser() != "" && serverDetails.GetPassword() != "" {
37-
return nil, fmt.Errorf("evidence service does not support basic authentication")
37+
return nil, fmt.Errorf("AppTrust service does not support basic authentication")
3838
}
3939

4040
return serverDetails, nil

0 commit comments

Comments
 (0)