Skip to content

Export errBadJSONDoc and errBadJSONPatch errors for JSON merge patch #124

Closed

Description

@gavinfish

Initial discussion at kubernetes/kubernetes#97243 (comment). When callers call jsonpatch.MergePatch() func, it is better to let them know wether the doc or patch is invalid. Export the errBadJSONDoc and errBadJSONPatch to let callers take actions when such errors occur.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions