Skip to content

Commit f8f3637

Browse files
authored
Update main.go
1 parent 78188af commit f8f3637

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/controller/cmd/controller

src/controller/cmd/controller/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func main() {
2828
logrus.Fatalf("Failed to get watch namespace: %v", err)
2929
}
3030

31-
kind = os.Getenv("WATCH_KIND")
31+
kind := os.Getenv("WATCH_KIND")
3232

3333
if len(kind) == 0 {
3434
logrus.Fatalf("WATCH_KIND not set")

0 commit comments

Comments
 (0)