-
Notifications
You must be signed in to change notification settings - Fork 911
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
Address comments from #4346 review #4405
Address comments from #4346 review #4405
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe a better PR title? we are going to merge them without squashing...
err error | ||
lock sync.Mutex | ||
matchingClient matchingservice.MatchingServiceClient | ||
futures map[string]future.Future[*matchingservice.GetWorkerBuildIdCompatibilityResponse] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice, that's better
@@ -53,3 +57,20 @@ func VersionStampToBuildIdSearchAttribute(stamp *commonpb.WorkerVersionStamp) st | |||
} | |||
return UnversionedBuildIdSearchAttribute(stamp.BuildId) | |||
} | |||
|
|||
func FindBuildId(versionSets []*taskqueuepb.CompatibleVersionSet, buildId string) (setIndex, indexInSet int) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, I'll move them into a versioning package
a2d884e
to
d844235
Compare
d844235
to
f9ece1e
Compare
No description provided.