- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestGetObjectLegalHoldMeta (0.21 sec)
-
internal/bucket/object/lock/lock_test.go
for i, tt := range tests { o := GetObjectRetentionMeta(tt.metadata) if o.Mode != tt.expected.Mode { t.Fatalf("Case %d expected %v, got %v", i, tt.expected.Mode, o.Mode) } } } func TestGetObjectLegalHoldMeta(t *testing.T) { tests := []struct { metadata map[string]string expected ObjectLegalHold }{ { metadata: map[string]string{ "x-amz-object-lock-mode": "governance", },
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 29 01:20:27 UTC 2024 - 17.1K bytes - Viewed (0)