File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -145,8 +145,7 @@ func (p *Plugin) Generate() ([]byte, error) {
145145 if plcNameToPolicyAndSetIdxs [plcName ] == nil {
146146 plcNameToPolicyAndSetIdxs [plcName ] = map [string ][]int {}
147147 }
148- plcNameToPolicyAndSetIdxs [plcName ]["policyset" ] =
149- append (plcNameToPolicyAndSetIdxs [plcName ]["policyset" ], i )
148+ plcNameToPolicyAndSetIdxs [plcName ]["policyset" ] = append (plcNameToPolicyAndSetIdxs [plcName ]["policyset" ], i )
150149 }
151150
152151 // Sort the keys of plcNameToPolicyseetsIdxs so that the policy bindings are generated in a
Original file line number Diff line number Diff line change @@ -908,11 +908,11 @@ func TestVerifyManifestPath(t *testing.T) {
908908 workingDir := path .Join (baseDirectory , "workingdir" )
909909 subDir := path .Join (workingDir , "subdir" )
910910 otherDir := path .Join (baseDirectory , "otherdir" )
911- err = os .MkdirAll (subDir , 0777 )
911+ err = os .MkdirAll (subDir , 0o777 )
912912 if err != nil {
913913 t .Fatalf ("Failed to create the directory structure %s: %v" , subDir , err )
914914 }
915- err = os .Mkdir (otherDir , 0777 )
915+ err = os .Mkdir (otherDir , 0o777 )
916916 if err != nil {
917917 t .Fatalf ("Failed to create the directory structure %s: %v" , otherDir , err )
918918 }
You can’t perform that action at this time.
0 commit comments