Skip to content

Commit 5da6de0

Browse files
authored
Fixes var name in appengine php72 metadata sample
1 parent ffad6e6 commit 5da6de0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

appengine/php72/metadata/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@
3737
function request_metadata_using_google_cloud($metadataKey)
3838
{
3939
$metadata = new Google\Cloud\Core\Compute\Metadata();
40-
$externalIp = $metadata->get($metadataKey);
40+
$metadataValue = $metadata->get($metadataKey);
4141

42-
return $externalIp;
42+
return $metadataValue;
4343
}
4444

4545
/**

0 commit comments

Comments
 (0)