diff --git a/cmd/collectors/storagegrid/storagegrid.go b/cmd/collectors/storagegrid/storagegrid.go index 33af8b96b..e32a4a0be 100644 --- a/cmd/collectors/storagegrid/storagegrid.go +++ b/cmd/collectors/storagegrid/storagegrid.go @@ -503,7 +503,7 @@ func (s *StorageGrid) InitAPIPath() { apiVersion := s.Params.GetChildContentS("api") if !strings.HasSuffix(s.client.APIPath, apiVersion) { cur := s.client.APIPath - s.client.APIPath = "/apiVersion/" + apiVersion + s.client.APIPath = "/api/" + apiVersion s.Logger.Debug(). Str("clientAPI", cur). Str("templateAPI", apiVersion).