Skip to content

bug: command --locked false to unlock the server doesn't work, however --locked true to lock the server does work. #484

@waltribeiro

Description

@waltribeiro

What happened?

The --locked false and -l false commands do not work. According to the Docs, a boolean can lock or unlock the server from being updated.

However, only --locked true and -l true seem to work. This is seen in the video below.

How can we reproduce it?

  1. Deploy server.
  2. Get server ID.
  3. Run command metal device update --id <server-id> --locked true to lock the server.
  4. Confirm that it is locked on console.equinix.com.
image-locked
  1. Run command metal device update --id <server-id> --locked false to unlock the server.
  2. Confirm that it is unlocked on console.equinix.com. However, it is not.
image-unlocked

Note

CLI ==version== (metal --version): metal version 0.24.0

Important

video-locked-hb.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions