mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-04-14 12:38:45 +00:00
fix(robots2policy): use sigs.k8s.io/yaml
Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
||||
"regexp"
|
||||
"strings"
|
||||
|
||||
"k8s.io/apimachinery/pkg/util/yaml"
|
||||
"sigs.k8s.io/yaml"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -55,7 +55,7 @@ type AnubisRule struct {
|
||||
func main() {
|
||||
flag.Parse()
|
||||
|
||||
if *helpFlag || flag.Narg() == 0 {
|
||||
if *helpFlag || flag.NArg() == 0 {
|
||||
showHelp()
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user