Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for wantKeyNames (0.1 sec)

  1. cmd/kms-handlers_test.go

    	}
    
    	// Check returned key list is correct
    	if test.wantKeyNames != nil {
    		keys := []madmin.KMSKeyInfo{}
    		err := json.Unmarshal(rec.Body.Bytes(), &keys)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if len(keys) != len(test.wantKeyNames) {
    			t.Fatalf("want %d keys, got %d", len(test.wantKeyNames), len(keys))
    		}
    
    		for i, want := range keys {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top