mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-10 19:50:30 +00:00
* Update controller package names to match the owning API group name * feedback. Co-authored-by: Bassem Dghaidi <568794+Link-@users.noreply.github.com>
14 lines
236 B
Go
14 lines
236 B
Go
package actionssummerwindnet
|
|
|
|
func filterLabels(labels map[string]string, filter string) map[string]string {
|
|
filtered := map[string]string{}
|
|
|
|
for k, v := range labels {
|
|
if k != filter {
|
|
filtered[k] = v
|
|
}
|
|
}
|
|
|
|
return filtered
|
|
}
|