mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-20 06:07:57 +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