balena-io / balena-sdk-python

Balena SDK for Python
Apache License 2.0
67 stars 46 forks source link

Device `restart_service` fails silently #354

Closed pipex closed 3 months ago

pipex commented 9 months ago

Replication steps

>>> from balena import Balena
>>> balena = Balena()
>>> credentials = { 'username':'me@domain.com', 'password': '******' }
>>> balena.auth.login(**credentials)
>>> balena.models.device.restart_service('uuid', 1234)

Nothing is returned from the last command, and the service is not restarted on the dashboard.

Tested with the latest balena-sdk version (14.4.0)

jellyfish-bot commented 9 months ago

[pipex] This has attached https://jel.ly.fish/9f385775-5f0e-4d94-b90f-e9cc406ca908

cywang117 commented 3 months ago

Fixed in v14.4.4 with https://github.com/balena-io/balena-sdk-python/pull/359