Skip to content

image update will remove nullable properties #830

Closed
@jsperling-schwarz

Description

@jsperling-schwarz

Description

When updating an existing image with the stackit-cli all nullable config properties will be removed.

Steps to reproduce

  1. Run stackit image create --name image-name --os-distro Linux --disk-format=raw --local-file-path=/path/to/image
  2. Run stackit image update --name new-name <image-id>

Actual behavior

After stackit image update all previous set nullable config properties are gone.

Expected behavior

Don't remove any properties unless this was requested.

Environment

  • OS: Linux Ubuntu 24.04
  • Version of STACKIT CLI (see stackit --version): v0.35.0

Additional information

This bug could affect any nullable properties not just the image config properties.

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