Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: provisioner acquirer to respect organization ID of jobs#13874

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Emyrk merged 3 commits intomainfromstevenmasley/multiple_org_provisioners
Jul 11, 2024

Conversation

Emyrk
Copy link
Member

The domain check to choose what provisioned to give clearance to is defined by thecontains function. This omitted the organization ID check, so the wrong provisioner could be given clearance, and the job would not be grabbed.

When organization ID was added to the jobs, it was only added to thedomainKey function. This now includes it in both places.

A 30s update interval would eventually make it work.

What this does

The pubsub message when a job is posted now chooses the right provisionerd to awaken when multiple organizations exist.

@@ -1829,3 +1829,51 @@ func TestTemplateAccess(t *testing.T) {
}
})
}

func TestMultipleOrganizationTemplates(t *testing.T) {
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

This test would always fail prior to this change.

@EmyrkEmyrk requested a review fromdeansheatherJuly 11, 2024 16:18
@EmyrkEmyrk merged commit687d953 intomainJul 11, 2024
29 checks passed
@EmyrkEmyrk deleted the stevenmasley/multiple_org_provisioners branchJuly 11, 2024 16:26
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJul 11, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@deansheatherdeansheatherdeansheather approved these changes

Assignees

@EmyrkEmyrk

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@Emyrk@deansheather

[8]ページ先頭

©2009-2025 Movatter.jp