stackdriver: wip - remove debug code

This commit is contained in:
Erik Sundell
2018-10-09 16:28:04 +02:00
parent aa2e64e160
commit 823838a839
2 changed files with 7 additions and 6 deletions

View File

@@ -17,8 +17,8 @@ import (
)
func (e *StackdriverExecutor) executeTestDataSource(ctx context.Context, tsdbQuery *tsdb.TsdbQuery) (*tsdb.Response, error) {
gceAutomaticAuthentication := e.dsInfo.JsonData.Get("gceAutomaticAuthentication").MustBool()
if gceAutomaticAuthentication {
authenticationType := e.dsInfo.JsonData.Get("authenticationType").MustString()
if authenticationType == "gce" {
defaultProject, err := e.getDefaultProject(ctx)
if err != nil {
return nil, err