CloudMonitoring: Update sdks to latest (#65252)
* Upgrade grafana-google-sdk-go to v0.1.0 * Upgrade @grafana/google-sdk to 0.1.1 * Update doc with provisioning example * Remove unused types * Use config types from the sdk * Add metrics
This commit is contained in:
@@ -34,7 +34,7 @@ func (s *Service) newResourceMux() *http.ServeMux {
|
||||
}
|
||||
|
||||
func (s *Service) getGCEDefaultProject(rw http.ResponseWriter, req *http.Request) {
|
||||
project, err := s.gceDefaultProjectGetter(req.Context())
|
||||
project, err := s.gceDefaultProjectGetter(req.Context(), resourceManagerScope)
|
||||
if err != nil {
|
||||
writeResponse(rw, http.StatusBadRequest, fmt.Sprintf("unexpected error %v", err))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user