-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bad Zone can mess up getting GCE instance #180
Labels
Comments
muschellij2
added a commit
to muschellij2/googleComputeEngineR
that referenced
this issue
Sep 1, 2021
The print out error is a cosmetic bug via print S3 method here: googleComputeEngineR/R/print-methods.R Lines 41 to 53 in 7736789
The instance object itself will still be valid if you view it via |
Yeah the error is spurious, it’s the underlying call that is problematic
and surprising it doesn’t return an error message. I added some validation
in my Frankenstein PR.
On Thu, Sep 2, 2021 at 4:36 AM Mark ***@***.***> wrote:
The print out error is only the print S3 method here:
https://github.com/cloudyr/googleComputeEngineR/blob/77367894333373932b3dcb54568b4bd2fbee9592/R/print-methods.R#L41-L53
The instance object itself will still be valid if you view it via str() -
but it should also make sure the zone is valid - I guess if the API didn't
error it ignroed it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#180 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIGPLSXWB6OZXPO2XWUIMDT74ZRJANCNFSM5DHTFXMA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
--
Best,
John
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I accidentally sent a bad zone and
gce_get_instance
didn't fail. This affectsgce_vm
in the error catching. It didn't cause an error. It errors only when you go to show the object:Created on 2021-09-01 by the reprex package (v2.0.0)
The text was updated successfully, but these errors were encountered: