mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-10-30 21:30:16 +00:00 
			
		
		
		
	Merge pull request #16197 from thockin/docs-nits
syntax is 'go' not 'golang'
This commit is contained in:
		| @@ -188,7 +188,7 @@ Objects that contain both spec and status should not contain additional top-leve | |||||||
|  |  | ||||||
| The `FooCondition` type for some resource type `Foo` may include a subset of the following fields, but must contain at least `type` and `status` fields: | The `FooCondition` type for some resource type `Foo` may include a subset of the following fields, but must contain at least `type` and `status` fields: | ||||||
|  |  | ||||||
| ```golang | ```go | ||||||
| 	Type               FooConditionType  `json:"type" description:"type of Foo condition"` | 	Type               FooConditionType  `json:"type" description:"type of Foo condition"` | ||||||
| 	Status             ConditionStatus   `json:"status" description:"status of the condition, one of True, False, Unknown"` | 	Status             ConditionStatus   `json:"status" description:"status of the condition, one of True, False, Unknown"` | ||||||
| 	LastHeartbeatTime  unversioned.Time         `json:"lastHeartbeatTime,omitempty" description:"last time we got an update on a given condition"` | 	LastHeartbeatTime  unversioned.Time         `json:"lastHeartbeatTime,omitempty" description:"last time we got an update on a given condition"` | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user