Profile patch with invalid op
reports "invalid path" instead of "invalid op"
#5259
Labels
area/errors
area/yaml-docs
kind/friction
Issues causing user pain that do not have a workaround
needs-actionable-error
The error shown does not have a clear next step.
priority/p2
May take a couple of releases
Expected behavior
An invalid
op
in theprofile.patches
list should complain that the op is invalid, i.e.,Actual behavior
An invalid
op
in theprofile.patches
list complains that the path is invalid, i.e.It wasn't until I went to look at the spec after about a half-hour of trying to rewrite, rephrase, or simply respell the path, and then hunting through Skaffold bug reports, that I went to look at the JSON Patch site, and discovered that the op is
remove
, notdelete
.The path is not invalid.
Information
v1.17.2
Microsoft Windows [Version 10.0.19041.685]
Steps to reproduce the behavior
skaffold dev -p NodePort
The text was updated successfully, but these errors were encountered: