Skip to content
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

Provide metro as well with facility code for hardware reservation #326

Merged
merged 2 commits into from
Aug 14, 2023

Conversation

aayushrangwala
Copy link
Contributor

@aayushrangwala aayushrangwala commented Aug 8, 2023


inc := []string{}
inc := []string{"facility"}
Copy link
Contributor

@codinja1188 codinja1188 Aug 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it included in standard cases too? If, Yes, need to remove it.

                        case outputs.FormatJSON, outputs.FormatYAML:
-                               inc = append(inc, "project", "facility", "device")
+                               inc = append(inc, "project", "device")
                        }

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, updated the switch case to consider facility.metro only as we only need that much.

@aayushrangwala aayushrangwala temporarily deployed to external August 9, 2023 17:08 — with GitHub Actions Inactive
@aayushrangwala aayushrangwala force-pushed the aayushrangwala/issue-286 branch from 6b46d13 to 79f8ab4 Compare August 9, 2023 17:20
@aayushrangwala aayushrangwala temporarily deployed to external August 9, 2023 17:20 — with GitHub Actions Inactive
@cprivitere cprivitere force-pushed the aayushrangwala/issue-286 branch from 79f8ab4 to 80a14f9 Compare August 14, 2023 19:57
@cprivitere cprivitere temporarily deployed to external August 14, 2023 19:57 — with GitHub Actions Inactive
Copy link
Contributor

@cprivitere cprivitere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tried it out with Ayush's reservation and it looks good!

@cprivitere cprivitere merged commit 97c63bd into equinix:main Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants