Remove unused code and modify tests to include set based selector

This commit is contained in:
Ayush Pateria
2018-02-20 03:23:51 +05:30
parent 4f84a1cb7e
commit 1beed0f4c6
3 changed files with 63 additions and 153 deletions

View File

@@ -63,7 +63,6 @@ func ControllerRevisionName(prefix string, hash uint32) string {
func NewControllerRevision(parent metav1.Object,
parentKind schema.GroupVersionKind,
podLabels map[string]string,
selector labels.Selector,
data runtime.RawExtension,
revision int64,
collisionCount *int32) (*apps.ControllerRevision, error) {