Dan Kirkwood | c0a8099 | 2016-03-07 13:47:25 -0700 | [diff] [blame] | 1 | package quotasets |
Dan Kirkwood | ceb8409 | 2016-03-01 13:58:34 -0700 | [diff] [blame] | 2 | |
| 3 | import ( |
| 4 | "github.com/rackspace/gophercloud" |
Dan Kirkwood | ceb8409 | 2016-03-01 13:58:34 -0700 | [diff] [blame] | 5 | ) |
| 6 | |
Dan Kirkwood | 7e8d8ed | 2016-03-08 14:05:57 -0700 | [diff] [blame] | 7 | // Get returns public data about a previously created QuotaSet. |
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 | } |