mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-01-18 10:46:34 +00:00
device: When registering, print the uuid
This restores the behavior from before #911, which is useful from some users. Closes #966 Change-type: patch Signed-off-by: Pablo Carranza Velez <pablocarranza@gmail.com>
This commit is contained in:
parent
33a23773d8
commit
8298ba5765
@ -164,6 +164,7 @@ exports.register =
|
||||
resin.models.application.get(params.application)
|
||||
options.uuid ? resin.models.device.generateUniqueKey()
|
||||
(application, uuid) ->
|
||||
console.info("Registering to #{application.app_name}: #{uuid}")
|
||||
return resin.models.device.register(application.id, uuid)
|
||||
)
|
||||
.get('uuid')
|
||||
|
Loading…
Reference in New Issue
Block a user