mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-19 15:01:46 +00: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