Skip to content

Commit

Permalink
this should fail
Browse files Browse the repository at this point in the history
  • Loading branch information
inosmeet committed Jan 25, 2025
1 parent 7414505 commit 4a76b70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion KubeArmor/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func main() {
kg.Printf("Need to have root privileges to run %s\n", os.Args[0])
if os.Geteuid() != 0 {
if os.Getenv("KUBEARMOR_UBI") == "" {
kg.Printf("Need to have root privileges to run %s\n", os.Args[0])
kg.Printf("Need to have root privileges to run %s\n", os.Args[0]

Check failure on line 41 in KubeArmor/main.go

View workflow job for this annotation

GitHub Actions / go-vuln

missing ',' before newline in argument list
return

Check failure on line 42 in KubeArmor/main.go

View workflow job for this annotation

GitHub Actions / go-vuln

expected operand, found 'return'

Check failure on line 42 in KubeArmor/main.go

View workflow job for this annotation

GitHub Actions / go-vuln

missing ',' in argument list

Check failure on line 42 in KubeArmor/main.go

View workflow job for this annotation

GitHub Actions / go-vuln

expected operand, found newline
}
}
Expand Down

0 comments on commit 4a76b70

Please sign in to comment.