Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetBucketInfo (0.08 sec)

  1. cmd/bucket-lifecycle.go

    	}
    	if r.Days == 0 && r.Type != SelectRestoreRequest {
    		return fmt.Errorf("restoration days should be at least 1")
    	}
    	// Check if bucket exists.
    	if !r.OutputLocation.IsEmpty() {
    		if _, err := objAPI.GetBucketInfo(ctx, r.OutputLocation.S3.BucketName, BucketOptions{}); err != nil {
    			return err
    		}
    		if r.OutputLocation.S3.Prefix == "" {
    			return fmt.Errorf("Prefix is a required parameter in OutputLocation")
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
Back to top