Updating StatusDetails.ID to Name in internal API

This commit is contained in:
nikhiljindal
2015-06-05 06:45:59 -07:00
parent a161edb396
commit 7cc50448e3
10 changed files with 148 additions and 147 deletions

View File

@@ -1536,10 +1536,9 @@ type Status struct {
// and should assume that any attribute may be empty, invalid, or under
// defined.
type StatusDetails struct {
// The ID attribute of the resource associated with the status StatusReason
// (when there is a single ID which can be described).
// TODO: replace with Name with v1beta3
ID string `json:"id,omitempty"`
// The name attribute of the resource associated with the status StatusReason
// (when there is a single name which can be described).
Name string `json:"name,omitempty"`
// The kind attribute of the resource associated with the status StatusReason.
// On some operations may differ from the requested resource Kind.
Kind string `json:"kind,omitempty"`