mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 10:46:58 +08:00
fix: pending_delete/system list options no need admin params
This commit is contained in:
@@ -225,7 +225,7 @@ func TestBaseListOptions(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatalf("unexpected error: %s", err)
|
||||
}
|
||||
for _, f := range []string{"details", "admin"} {
|
||||
for _, f := range []string{"details"} {
|
||||
got, err := params.Bool(f)
|
||||
if err != nil {
|
||||
t.Fatalf("getting %s field failed: %s", f, err)
|
||||
|
||||
Reference in New Issue
Block a user