Skip to content

Fix: fix the cro example#1056

Closed
ryanzhang-oss wants to merge 1 commit intomainfrom
ryanzhang-oss-patch-1
Closed

Fix: fix the cro example#1056
ryanzhang-oss wants to merge 1 commit intomainfrom
ryanzhang-oss-patch-1

Conversation

@ryanzhang-oss
Copy link
Contributor

Description of your changes

A new map node in the Json is different from adding a kv pair inside a map.

Fixes #

I have:

  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

Special notes for your reviewer

path: /metadata/labels/new-label
value: "new-value" No newline at end of file
path: /metadata/labels
value: {"new-label": "new-value"}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi ryan, this example is to add labels when the list is empty.

We need an example: add a new label when the list is not empty.
The original example is supposed to work :(

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants