mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Test atomic PUTs, and make them work.
Improve apiserver/logger.go's interface (it's pretty cool now). Improve apiserver's error reporting to clients. Improve client's handling of errors from apiserver. Make failed PUTs return 409 (conflict)-- http status codes are amazingly well defined for what we're doing!
This commit is contained in:
		@@ -267,8 +267,12 @@ type Status struct {
 | 
			
		||||
	// One of: "success", "failure", "working" (for operations not yet completed)
 | 
			
		||||
	// TODO: if "working", include an operation identifier so final status can be
 | 
			
		||||
	// checked.
 | 
			
		||||
	Status  string `json:"status,omitempty" yaml:"status,omitempty"`
 | 
			
		||||
	Status string `json:"status,omitempty" yaml:"status,omitempty"`
 | 
			
		||||
	// Details about the status. May be an error description or an
 | 
			
		||||
	// operation number for later polling.
 | 
			
		||||
	Details string `json:"details,omitempty" yaml:"details,omitempty"`
 | 
			
		||||
	// Suggested HTTP return code for this status, 0 if not set.
 | 
			
		||||
	Code int `json:"code,omitempty" yaml:"code,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Values of Status.Status
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user