remove Versions from GroupMeta

This commit is contained in:
deads2k
2015-12-02 15:47:42 -05:00
parent 643cb7a1c7
commit 675d8a235e
10 changed files with 17 additions and 43 deletions

View File

@@ -109,13 +109,6 @@ type GroupMeta struct {
// GroupVersion represents the current external default version of the group.
GroupVersion unversioned.GroupVersion
// Versions is the list of versions that are recognized in code. The order
// provided is assumed to be from the oldest to the newest, e.g.,
// Versions[0] == oldest and Versions[N-1] == newest.
// Clients may choose to prefer the latter items in the list over the former
// items when presented with a set of versions to choose.
Versions []string
// GroupVersions is Group + Versions. This is to avoid string concatenation
// in many places.
GroupVersions []unversioned.GroupVersion