Skip to content

Commit

Permalink
interface keyword is reserved
Browse files Browse the repository at this point in the history
fix #695
  • Loading branch information
Raphaël Droz committed Nov 17, 2020
1 parent b6e5b0d commit da0f780
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pkgcloud/openstack/compute/server.js
Expand Up @@ -80,8 +80,8 @@ Server.prototype._setProperties = function (details) {
return self.addresses[network];
})
.reduce(function (all, interfaces) {
Object.keys(interfaces).map(function (interface) {
return interfaces[interface].addr;
Object.keys(interfaces).map(function (iface) {
return interfaces[iface].addr;
})
.forEach(function (addr) {
return compute.isPrivate(addr)
Expand Down

0 comments on commit da0f780

Please sign in to comment.