Explorar o código

Stackdriver: Corrected field title and removed debug logging

Erik Sundell %!s(int64=7) %!d(string=hai) anos
pai
achega
684aa3ff33

+ 0 - 1
public/app/plugins/datasource/stackdriver/config_ctrl.ts

@@ -16,7 +16,6 @@ export class StackdriverConfigCtrl {
     this.current.jsonData = this.current.jsonData || {};
     this.current.secureJsonData = this.current.secureJsonData || {};
     this.current.secureJsonFields = this.current.secureJsonFields || {};
-    console.log(this.current.secureJsonFields.privateKey);
     this.defaultProject = this.current.jsonData.defaultProject;
     this.projects = [];
   }

+ 1 - 1
public/app/plugins/datasource/stackdriver/partials/config.html

@@ -32,7 +32,7 @@
 		</div>
 	</div>
 	<div class="gf-form" ng-if="ctrl.current.secureJsonFields.privateKey">
-		<span class="gf-form-label width-9">Client Secret</span>
+		<span class="gf-form-label width-9">Private Key</span>
 		<input type="text" class="gf-form-input max-width-12" disabled="disabled" value="configured">
 	</div>