mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-03-15 17:13:46 +01:00
fixed loop on custom map
This commit is contained in:
@@ -8,7 +8,7 @@ type Capability map[string]bool
|
||||
|
||||
// Get the capability value from the map.
|
||||
func (c Capability) Get(key string) bool {
|
||||
return c.Get(key)
|
||||
return c[key]
|
||||
}
|
||||
|
||||
// Sets the capability value in the map.
|
||||
|
||||
Reference in New Issue
Block a user