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

chore: cleanup + refactor for test infra migration #5235

Merged
merged 21 commits into from
Nov 12, 2024

Conversation

cameronmeissner
Copy link
Collaborator

@cameronmeissner cameronmeissner commented Nov 8, 2024

What type of PR is this?

What this PR does / why we need it:
various cleanup + refactoring changes related to test infra migration

Which issue(s) this PR fixes:

Fixes #

Requirements:

Special notes for your reviewer:

Release note:

none

@cameronmeissner cameronmeissner changed the title chore: remove hard-coded azure references for infra migration chore: cleanup + refactor for test infra migration Nov 12, 2024
@@ -208,7 +208,7 @@ func NewAzureClient(subscription string) (*AzureClient, error) {
return nil, fmt.Errorf("create vnet client: %w", err)
}

cloud.GalleryImageVersion, err = armcompute.NewGalleryImageVersionsClient(subscription, credential, opts)
cloud.GalleryImageVersion, err = armcompute.NewGalleryImageVersionsClient(gallerySubscription, credential, opts)
Copy link
Contributor

Choose a reason for hiding this comment

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

I would just call Config.GallerySubscriptionID here. And do the same for subscription.

@cameronmeissner cameronmeissner merged commit 2a9548d into dev Nov 12, 2024
10 of 16 checks passed
@cameronmeissner cameronmeissner deleted the cameissner/migration branch November 12, 2024 21:05
cameronmeissner added a commit that referenced this pull request Nov 12, 2024
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.

4 participants