mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-11 06:02:18 +00:00
Rename ID -> Name
This commit is contained in:
@@ -125,7 +125,7 @@ func (ops *Operations) List() *api.ServerOpList {
|
||||
sort.StringSlice(ids).Sort()
|
||||
ol := &api.ServerOpList{}
|
||||
for _, id := range ids {
|
||||
ol.Items = append(ol.Items, api.ServerOp{TypeMeta: api.TypeMeta{ID: id}})
|
||||
ol.Items = append(ol.Items, api.ServerOp{TypeMeta: api.TypeMeta{Name: id}})
|
||||
}
|
||||
return ol
|
||||
}
|
||||
|
Reference in New Issue
Block a user