Commit 9ecee38f authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #27275 from nebril/issue-27274

Automatic merge from submit-queue Replace map[string]string with labels.Set (TODO) fixes #27274
parents 9b5936cb 7b304166
...@@ -130,7 +130,6 @@ type ObjectMeta struct { ...@@ -130,7 +130,6 @@ type ObjectMeta struct {
// The prefix is optional. If the prefix is not specified, the key is assumed to be private // The prefix is optional. If the prefix is not specified, the key is assumed to be private
// to the user. Other system components that wish to use labels must specify a prefix. The // to the user. Other system components that wish to use labels must specify a prefix. The
// "kubernetes.io/" prefix is reserved for use by kubernetes components. // "kubernetes.io/" prefix is reserved for use by kubernetes components.
// TODO: replace map[string]string with labels.LabelSet type
Labels map[string]string `json:"labels,omitempty"` Labels map[string]string `json:"labels,omitempty"`
// Annotations are unstructured key value data stored with a resource that may be set by // Annotations are unstructured key value data stored with a resource that may be set by
......
...@@ -1479,7 +1479,6 @@ message ObjectMeta { ...@@ -1479,7 +1479,6 @@ message ObjectMeta {
// (scope and select) objects. May match selectors of replication controllers // (scope and select) objects. May match selectors of replication controllers
// and services. // and services.
// More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md // More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md
// TODO: replace map[string]string with labels.LabelSet type
map<string, string> labels = 11; map<string, string> labels = 11;
// Annotations is an unstructured key value map stored with a resource that may be // Annotations is an unstructured key value map stored with a resource that may be
......
...@@ -167,7 +167,6 @@ type ObjectMeta struct { ...@@ -167,7 +167,6 @@ type ObjectMeta struct {
// (scope and select) objects. May match selectors of replication controllers // (scope and select) objects. May match selectors of replication controllers
// and services. // and services.
// More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md // More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md
// TODO: replace map[string]string with labels.LabelSet type
Labels map[string]string `json:"labels,omitempty" protobuf:"bytes,11,rep,name=labels"` Labels map[string]string `json:"labels,omitempty" protobuf:"bytes,11,rep,name=labels"`
// Annotations is an unstructured key value map stored with a resource that may be // Annotations is an unstructured key value map stored with a resource that may be
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment