mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-19 21:57:54 +00:00
Merge pull request #837 from balena-io/836-unexposed-ip-address
api: Ensure Supervisor API returns IP addresses
This commit is contained in:
commit
8391ca741a
@ -301,7 +301,7 @@ module.exports = class DeviceState extends EventEmitter
|
||||
if changedConfig.connectivityCheckEnabled?
|
||||
network.enableConnectivityCheck(changedConfig.connectivityCheckEnabled)
|
||||
console.log('Starting periodic check for IP addresses')
|
||||
network.startIPAddressUpdate (addresses) =>
|
||||
network.startIPAddressUpdate() (addresses) =>
|
||||
@reportCurrentState(
|
||||
ip_address: addresses.join(' ')
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user