Skip to content

Commit d49eed9

Browse files
authored
chore: run make go-tidy and make go-fix (#2349)
These are some outstanding changes that just appeared.
1 parent 7e8601e commit d49eed9

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

util/cmd/check_tfvars/main.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import (
3030
"flag"
3131
"fmt"
3232
"log"
33+
"maps"
3334
"os"
3435
"path/filepath"
3536
"strings"
@@ -75,9 +76,7 @@ func main() {
7576
if err != nil {
7677
log.Fatalf("failed to load %s: %v", fullPath, err)
7778
}
78-
for k, v := range attrs {
79-
allAttrs[k] = v
80-
}
79+
maps.Copy(allAttrs, attrs)
8180
}
8281

8382
// 2. Validate all gathered attributes against schemas

workers/webhook/go.mod

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ replace github.com/GoogleChrome/webstatus.dev/lib => ../../lib
66

77
replace github.com/GoogleChrome/webstatus.dev/lib/gen => ../../lib/gen
88

9-
require github.com/GoogleChrome/webstatus.dev/lib v0.0.0-00010101000000-000000000000
9+
require (
10+
github.com/GoogleChrome/webstatus.dev/lib v0.0.0-00010101000000-000000000000
11+
github.com/google/go-cmp v0.7.0
12+
)
1013

1114
require (
1215
cel.dev/expr v0.25.1 // indirect

0 commit comments

Comments
 (0)