fix(robots2policy): use sigs.k8s.io/yaml

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso
2025-06-13 14:40:23 -04:00
parent 00cdc52e9e
commit 332320791a
2 changed files with 4 additions and 4 deletions

View File

@@ -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
}