Skip to content

os-update allows use of same version, for development variant #2880

@kb2ma

Description

@kb2ma

Expected Behavior

Assume device is running OS v6.0.23, development variant. Expect request to update to same version to fail, like below.

$ balena device os-update 1234567 --version "6.0.23"
The provided version 6.0.23 is not in the Host OS update targets for this device

Actual Behavior

CLI accepts use of the same version, as shown below. This issue occurs only with development variant. Production variant shows expected behavior above.

$ balena device os-update 1234567 --version "6.0.23"
 Host OS updates require a device restart when they complete. Are you sure you want to proceed? (y/N) 

Specifications

  • balena CLI version: v20.0.0
  • Cloud backend: BoB

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions