Dan Kirkwood | ceb8409 | 2016-03-01 13:58:34 -0700 | [diff] [blame] | 1 | package quotas |
| 2 | |
| 3 | import ( |
| 4 | "github.com/rackspace/gophercloud" |
Dan Kirkwood | ceb8409 | 2016-03-01 13:58:34 -0700 | [diff] [blame] | 5 | ) |
| 6 | |
Dan Kirkwood | ceb8409 | 2016-03-01 13:58:34 -0700 | [diff] [blame] | 7 | // Get returns public data about a previously created Quota. |
Dan Kirkwood | b068825 | 2016-03-07 13:28:50 -0700 | [diff] [blame^] | 8 | func Get(client *gophercloud.ServiceClient, tenantID string) GetResult { |
Dan Kirkwood | ceb8409 | 2016-03-01 13:58:34 -0700 | [diff] [blame] | 9 | var res GetResult |
Dan Kirkwood | b068825 | 2016-03-07 13:28:50 -0700 | [diff] [blame^] | 10 | _, res.Err = client.Get(getURL(client, tenantID), &res.Body, nil) |
Dan Kirkwood | ceb8409 | 2016-03-01 13:58:34 -0700 | [diff] [blame] | 11 | return res |
| 12 | } |