Skip to content

Allow replacing updating keys #13

Description

@tjvman

I was working with a BOSH manifest that had numerous incorrect keys specified, e.g.:

- name: foo
  BADtype: password

and wanted to change BADtype to type using an ops-file (because I did not own the repo the manifest belonged to). However, the only supported way to do this is to use a remove to get rid of the key and its value, and then a replace to add the correct key with the same value. This workflow requires placing the entire value of the incorrect key (which could be large) into the ops-file twice.

I would like to have a operation similar to replace that allows me to change a key in a single invocation without having to include the key's value block as well.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions