@@ -69,7 +69,7 @@ var validateCmd = &cobra.Command{
6969 }
7070
7171 groupMap := context .PrefixToGroupMap ()
72- fileMap , errors := validateOwnersFilesInGroups (& groupMap )
72+ fileMap , errors := validateOwnersFilesInGroups (groupMap )
7373 errors2 := warnFileMismatchesBetweenKubernetesRepoAndSigsYaml (fileMap )
7474 errors = append (errors , errors2 ... )
7575
@@ -95,7 +95,7 @@ func warnFileMismatchesBetweenKubernetesRepoAndSigsYaml(fileMap map[string]strin
9595 continue
9696 }
9797 found := false
98- for _ , file := range * ownerFiles {
98+ for _ , file := range ownerFiles {
9999 if len (file ) == 0 {
100100 continue
101101 }
@@ -108,7 +108,7 @@ func warnFileMismatchesBetweenKubernetesRepoAndSigsYaml(fileMap map[string]strin
108108 }
109109 }
110110
111- for _ , file := range * ownerFiles {
111+ for _ , file := range ownerFiles {
112112 if len (file ) > 0 {
113113 if _ , ok := fileMap [file ]; ! ok {
114114 errors = append (errors , fmt .Errorf ("file [%s] is not in sigs.yaml" , file ))
@@ -119,10 +119,10 @@ func warnFileMismatchesBetweenKubernetesRepoAndSigsYaml(fileMap map[string]strin
119119 return errors
120120}
121121
122- func validateOwnersFilesInGroups (groupMap * map [string ][]utils.Group ) (map [string ]string , []error ) {
122+ func validateOwnersFilesInGroups (groupMap map [string ][]utils.Group ) (map [string ]string , []error ) {
123123 fileMap := map [string ]string {}
124124 var errors []error
125- for groupType , groups := range * groupMap {
125+ for groupType , groups := range groupMap {
126126 for _ , group := range groups {
127127 for _ , sub := range group .Subprojects {
128128 for _ , filePath := range sub .Owners {
0 commit comments