Skip to content

Commit

Permalink
Fix typo in createSecurityGroup
Browse files Browse the repository at this point in the history
Issue #454.
  • Loading branch information
vivekzhere authored and rosskukulinski committed Jan 31, 2017
1 parent 274198d commit ed8c79f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pkgcloud/openstack/network/client/securityGroups.js
Expand Up @@ -102,7 +102,7 @@ exports.createSecurityGroup = function (securityGroup, callback) {
this._request(createSecurityGroupOpts, function (err,body) {
return err
? callback(err)
: callback(err, new self.models.SecurityGroup(self, body.securityGroup));
: callback(err, new self.models.SecurityGroup(self, body.security_group));
});
};

Expand Down

0 comments on commit ed8c79f

Please sign in to comment.