Skip to content

edit is not properly printing validation errors #6926

Closed
kubernetes/kubernetes
#20481

Description

@smarterclayton

Opened a DC, trying to set hooks:

  1 # Please edit the object below. Lines beginning with a '#' will be ignored,
  2 # and an empty file will abort the edit. If an error occurs while saving this file will be
  3 # reopened with the relevant failures.
  4 #
  5 # %!s(func(runtime.Object) (string, error)=0x12fd00) mysql was not valid:
  6 # * required value
  7 #

Not sure if this is an artifact of the upstream edit, or of the rebase, but either way needs to be fixed.

Activity

  1. smarterclayton commented on Feb 1, 2016

    @smarterclayton
    ContributorAuthor

    I would expect all validation errors to show both the field path and the message

  2. 0xmichalis commented on Feb 11, 2016

    @0xmichalis
    Contributor

    Fixed in #7135

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions