Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mustListBuckets (0.06 sec)

  1. cmd/admin-handlers-users_test.go

    	c.Helper()
    	res := client.ListObjects(ctx, bucket, minio.ListObjectsOptions{})
    	v, ok := <-res
    	if ok && v.Err != nil {
    		c.Fatalf("user was unable to list: %v", v.Err)
    	}
    }
    
    func (c *check) mustListBuckets(ctx context.Context, client *minio.Client) {
    	c.Helper()
    	_, err := client.ListBuckets(ctx)
    	if err != nil {
    		c.Fatalf("user was unable to list buckets: %v", err)
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
Back to top