blob: 52f08391598a58d223aa197f23457461ef3a47f6 [file] [log] [blame]
Dan Kirkwoodc0a80992016-03-07 13:47:25 -07001package quotasets
Dan Kirkwoodceb84092016-03-01 13:58:34 -07002
3import (
4 "github.com/rackspace/gophercloud"
Dan Kirkwoodceb84092016-03-01 13:58:34 -07005)
6
Dan Kirkwood7e8d8ed2016-03-08 14:05:57 -07007// Get returns public data about a previously created QuotaSet.
Dan Kirkwoodb0688252016-03-07 13:28:50 -07008func Get(client *gophercloud.ServiceClient, tenantID string) GetResult {
Dan Kirkwoodceb84092016-03-01 13:58:34 -07009 var res GetResult
Dan Kirkwoodb0688252016-03-07 13:28:50 -070010 _, res.Err = client.Get(getURL(client, tenantID), &res.Body, nil)
Dan Kirkwoodceb84092016-03-01 13:58:34 -070011 return res
12}