We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently if a container exit with exit code 0, when we do crictl inspect, there won't be exit code field, because that is omitted https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/apis/cri/v1alpha1/runtime/api.pb.go#L2119.
crictl inspect
We should use github.com/golang/protobuf/jsonpb, so that we could configure EmitDefaults to fix this.
github.com/golang/protobuf/jsonpb
EmitDefaults
The text was updated successfully, but these errors were encountered:
protobuf/jsonpb
golang json
I think this has been fixed. Close this one.
Sorry, something went wrong.
No branches or pull requests
Currently if a container exit with exit code 0, when we do
crictl inspect
, there won't be exit code field, because that is omitted https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/apis/cri/v1alpha1/runtime/api.pb.go#L2119.We should use
github.com/golang/protobuf/jsonpb
, so that we could configureEmitDefaults
to fix this.The text was updated successfully, but these errors were encountered: