Update targets to new listing method (#2045)
This uses the prefetch method to fetch resource IDs and validate them for authz by the user before then fetching the full list of targets.
This commit is contained in:
1 parent
21b0d584ad
commit
4cf2a87e8d
8 files changed
+150
-23
No files matched your search
@@ -366,7 +366,7 @@ func Test_MakeInactive_MakePrivate_MakePublic(t *testing.T) {
|
||||
}(),
|
||||
version: 1,
|
||||
wantErrMatch: errors.T(errors.InvalidParameter),
|
||||
wantErrContains: "certificate signed by unknown authority",
|
||||
wantErrContains: "certificate",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user