Permalink
Browse files

Merge pull request #557 from vivekzhere/master

Fix typo in openstack createSecurityGroupRule
  • Loading branch information...
2 parents ed8c79f + f000732 commit ef1cea93f2b54e250676a72bf79094aacae8a89d @rosskukulinski rosskukulinski committed on GitHub Feb 2, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/pkgcloud/openstack/network/client/securityGroupRules.js
@@ -108,7 +108,7 @@ exports.createSecurityGroupRule = function (securityGroupRule, callback) {
this._request(createSecurityGroupRuleOpts, function (err,body) {
return err
? callback(err)
- : callback(err, new self.models.SecurityGroupRule(self, body.securityGroupRule));
+ : callback(err, new self.models.SecurityGroupRule(self, body.security_group_rule));
});
};

0 comments on commit ef1cea9

Please sign in to comment.