stackdriver: add default value for authentication type
This commit is contained in:
1 parent
823838a839
commit
cd7b454e25
2 files changed
+2
-2
No files matched your search
@@ -17,7 +17,7 @@ import (
|
||||
)
|
||||
|
||||
func (e *StackdriverExecutor) executeTestDataSource(ctx context.Context, tsdbQuery *tsdb.TsdbQuery) (*tsdb.Response, error) {
|
||||
authenticationType := e.dsInfo.JsonData.Get("authenticationType").MustString()
|
||||
authenticationType := e.dsInfo.JsonData.Get("authenticationType").MustString("jwt")
|
||||
if authenticationType == "gce" {
|
||||
defaultProject, err := e.getDefaultProject(ctx)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user