mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-01 02:38:12 +00:00
Fix reporting reason in kubelet
1. Make reason field of StatusReport objects in kubelet in CamelCase format. 2. Add Message field for ContainerStateWaiting to describe detail about Reason. 3. Make reason field of Events in kubelet in CamelCase format. 4. Update swagger,deep-copy and so on.
This commit is contained in:
@@ -835,8 +835,10 @@ const (
|
||||
)
|
||||
|
||||
type ContainerStateWaiting struct {
|
||||
// Reason could be pulling image,
|
||||
// A brief CamelCase string indicating details about why the container is in waiting state.
|
||||
Reason string `json:"reason,omitempty"`
|
||||
// A human-readable message indicating details about why the container is in waiting state.
|
||||
Message string `json:"message,omitempty"`
|
||||
}
|
||||
|
||||
type ContainerStateRunning struct {
|
||||
|
||||
Reference in New Issue
Block a user