mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-11 03:57:01 +00:00
Propagate runner scale set name annotation to EphemeralRunner (#3098)
This commit is contained in:
committed by
GitHub
parent
2c0e53951b
commit
48706584fd
@@ -698,7 +698,7 @@ var _ = Describe("Test AutoScalingController updates", Ordered, func() {
|
||||
return "", err
|
||||
}
|
||||
|
||||
if val, ok := ars.Annotations[runnerScaleSetNameAnnotationKey]; ok {
|
||||
if val, ok := ars.Annotations[AnnotationKeyGitHubRunnerScaleSetName]; ok {
|
||||
return val, nil
|
||||
}
|
||||
|
||||
@@ -722,7 +722,7 @@ var _ = Describe("Test AutoScalingController updates", Ordered, func() {
|
||||
return "", err
|
||||
}
|
||||
|
||||
if val, ok := ars.Annotations[runnerScaleSetNameAnnotationKey]; ok {
|
||||
if val, ok := ars.Annotations[AnnotationKeyGitHubRunnerScaleSetName]; ok {
|
||||
return val, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user