Skip to content

Commit

Permalink
Cleanup additional missed linter items
Browse files Browse the repository at this point in the history
  • Loading branch information
jhiemstrawisc committed Jun 3, 2024
1 parent 28de007 commit 26f3b9e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions xrootd/authorization_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -678,25 +678,25 @@ func TestWriteCacheAuthFiles(t *testing.T) {

nsAds := []server_structs.NamespaceAdV2{
{
Caps: PrivateCaps,
Caps: PrivateCaps,
Issuer: []server_structs.TokenIssuer{{
IssuerUrl: issuer1URL,
BasePaths: []string{"/p1"},
RestrictedPaths: []string{"/p1/nope", "p1/still_nope"}}},
},
{
Caps: PrivateCaps,
Caps: PrivateCaps,
Issuer: []server_structs.TokenIssuer{{
IssuerUrl: issuer2URL,
BasePaths: []string{"/p2/path", "/p2/foo", "/p2/baz"},
}},
},
{
Path: "/p3",
Caps: PublicCaps,
Path: "/p3",
Caps: PublicCaps,
},
{
Caps: PrivateCaps,
Caps: PrivateCaps,
Issuer: []server_structs.TokenIssuer{{
IssuerUrl: issuer1URL,
BasePaths: []string{"/p1_again"},
Expand All @@ -706,12 +706,12 @@ func TestWriteCacheAuthFiles(t *testing.T) {
}},
},
{
Path: "/p4/depth",
Caps: PublicCaps,
Path: "/p4/depth",
Caps: PublicCaps,
},
{
Path: "/p2_noauth",
Caps: PublicCaps,
Path: "/p2_noauth",
Caps: PublicCaps,
},
}

Expand Down

0 comments on commit 26f3b9e

Please sign in to comment.