commit | da422eaa6945b06a5c8f6028422d8c0b97df47aa | [log] [tgz] |
---|---|---|
author | Samuel A. Falvo II <sam.falvo@rackspace.com> | Tue Feb 25 13:38:12 2014 -0800 |
committer | Samuel A. Falvo II <sam.falvo@rackspace.com> | Tue Feb 25 13:38:12 2014 -0800 |
tree | 9edc1a1e3c778d4c2976cfcd2444e769a9600044 | |
parent | f30d51e35de85a2e9b36e1e3afa66cdcb2a2d155 [diff] [blame] |
Fix thinko / type error
diff --git a/servers.go b/servers.go index 9afb396..b8eec4f 100644 --- a/servers.go +++ b/servers.go
@@ -502,7 +502,7 @@ } // See the CloudServersProvider interface for details. -func (gsp *genericServersProvider) CreateDefaultSGRule(r SGRule) error { +func (gsp *genericServersProvider) CreateDefaultSGRule(r SGRule) (*SGRule, error) { var sgr *SGRule err := gsp.context.WithReauth(gsp.access, func() error { ep := fmt.Sprintf("%s/os-security-group-rules", gsp.endpoint)