@@ -44,10 +44,10 @@ var _ = Describe("ListOptions", func() {
44
44
expectedListOpts := & client.ListOptions {LabelSelector : client.MatchingLabelsSelector {Selector : labelSelector }}
45
45
Expect (newListOpts ).To (Equal (expectedListOpts ))
46
46
})
47
- It ("Should set LabelSelector to everything with empty MatchingLabelsSelector" , func () {
47
+ It ("Should set LabelSelector to nothing with empty MatchingLabelsSelector" , func () {
48
48
newListOpts := & client.ListOptions {}
49
49
newListOpts .ApplyOptions ([]client.ListOption {client.MatchingLabelsSelector {}})
50
- expectedListOpts := & client.ListOptions {LabelSelector : client.MatchingLabelsSelector {Selector : labels .Everything ()}}
50
+ expectedListOpts := & client.ListOptions {LabelSelector : client.MatchingLabelsSelector {Selector : labels .Nothing ()}}
51
51
Expect (newListOpts ).To (Equal (expectedListOpts ))
52
52
})
53
53
It ("Should set FieldSelector" , func () {
@@ -62,10 +62,10 @@ var _ = Describe("ListOptions", func() {
62
62
expectedListOpts := & client.ListOptions {FieldSelector : client.MatchingFieldsSelector {Selector : fields .Nothing ()}}
63
63
Expect (newListOpts ).To (Equal (expectedListOpts ))
64
64
})
65
- It ("Should set FieldSelector to everything with empty MatchingFieldsSelector" , func () {
65
+ It ("Should set FieldSelector to nothing with empty MatchingFieldsSelector" , func () {
66
66
newListOpts := & client.ListOptions {}
67
67
newListOpts .ApplyOptions ([]client.ListOption {client.MatchingFieldsSelector {}})
68
- expectedListOpts := & client.ListOptions {FieldSelector : client.MatchingFieldsSelector {Selector : fields .Everything ()}}
68
+ expectedListOpts := & client.ListOptions {FieldSelector : client.MatchingFieldsSelector {Selector : fields .Nothing ()}}
69
69
Expect (newListOpts ).To (Equal (expectedListOpts ))
70
70
})
71
71
It ("Should set Namespace" , func () {
0 commit comments