1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-06 17:40:58 +00:00

Format sources with gofmt (#472)

Co-authored-by: Casey Lee <cplee@nektos.com>
This commit is contained in:
KADOTA, Kyohei 2021-01-15 14:37:38 +09:00 committed by GitHub
parent 7987e67c0a
commit 035108c9f1
6 changed files with 8 additions and 11 deletions

View file

@ -192,7 +192,7 @@ func (j *Job) GetMatrixes() []map[string]interface{} {
func commonKeysMatch(a map[string]interface{}, b map[string]interface{}) bool {
for aKey, aVal := range a {
if bVal, ok := b[aKey]; ok && ! reflect.DeepEqual(aVal, bVal) {
if bVal, ok := b[aKey]; ok && !reflect.DeepEqual(aVal, bVal) {
return false
}
}