We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d44b751 commit 46ca5c8Copy full SHA for 46ca5c8
1 file changed
packages/logging/src/metadata.js
@@ -127,9 +127,7 @@ Metadata.getGlobalDescriptor = function() {
127
* @param {function} callback - The callback function.
128
*/
129
Metadata.prototype.getDefaultResource = function(callback) {
130
- var self = this;
131
-
132
- self.logging.auth.getEnvironment(function(err, env) {
+ this.logging.auth.getEnvironment(function(err, env) {
133
if (env.IS_CONTAINER_ENGINE) {
134
Metadata.getGKEDescriptor(callback);
135
return;
0 commit comments