- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for parseDestination (0.06 sec)
-
internal/bucket/replication/destination.go
return Errorf("invalid destination") } if !wildcard.Match(d.Bucket, bucketName) { return Errorf("bucket name does not match") } return nil } // parseDestination - parses string to Destination. func parseDestination(s string) (Destination, error) { if !strings.HasPrefix(s, DestinationARNPrefix) && !strings.HasPrefix(s, DestinationARNMinIOPrefix) { return Destination{}, Errorf("invalid destination '%s'", s)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4K bytes - Viewed (0)