Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Fix gce metadata recursion issue #1796 Only append `?recursive=true` is the generated url is a directory. Previously the api calls would be: `/computeMetadata/v1/?recursive=true/` `/computeMetadata/v1/?recursive=true/instance/` `/computeMetadata/v1/?recursive=true/instance/instance/` until #<SystemStackError: stack level too deep> Signed-off-by: joe.nuspl <nuspl@nvwls.com> * Avoid frozen string issue Signed-off-by: joe.nuspl <nuspl@nvwls.com> --------- Signed-off-by: joe.nuspl <nuspl@nvwls.com>
- Loading branch information