Propagate runner scale set name annotation to EphemeralRunner (#3098)

This commit is contained in:
Hidehito Yabuuchi
2024-03-19 20:50:49 +09:00
committed by GitHub
parent 2c0e53951b
commit 48706584fd
5 changed files with 21 additions and 13 deletions

View File

@@ -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
}