We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c53e88 commit 9300aceCopy full SHA for 9300ace
internal/store/store.go
@@ -15,7 +15,6 @@
15
package store
16
17
import (
18
- "errors"
19
"fmt"
20
"net/http"
21
"net/url"
@@ -64,7 +63,7 @@ func New(c config.Config) (*Store, error) {
64
63
case config.CloudManagerService, config.OpsManagerService:
65
s.setOpsManagerClient(client)
66
default:
67
- return nil, errors.New("unsupported service")
+ return nil, fmt.Errorf("unsupported service: %s", s.service)
68
}
69
70
return s, nil
@@ -88,7 +87,7 @@ func NewUnauthenticated(c config.Config) (*Store, error) {
88
87
case config.OpsManagerService:
89
s.setOpsManagerClient(nil)
90
91
92
93
94
0 commit comments