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 63e6183 commit 79b7ff3Copy full SHA for 79b7ff3
mimir/api_client.go
@@ -51,10 +51,6 @@ type apiClient struct {
51
52
// Make a new api client for RESTful calls
53
func NewAPIClient(opt *apiClientOpt) (*apiClient, error) {
54
- if opt.uri == "" && opt.rulerURI == "" && opt.alertmanagerURI == "" && opt.distributorURI == "" {
55
- return nil, fmt.Errorf("no provider URIs defined. Please set uri, or ruler_uri/alertmanager_uri/distributor_uri")
56
- }
57
-
58
/* Remove any trailing slashes since we will append
59
to this URL with our own root-prefixed location */
60
opt.uri = strings.TrimSuffix(opt.uri, "/")
0 commit comments