@@ -87,14 +87,14 @@ func TestSharingLabeler(t *testing.T) {
87
87
{
88
88
descrition : "nil config" ,
89
89
expectedLabels : map [string ]string {
90
- "nvidia.com/sharing. mps.enabled " : "false" ,
90
+ "nvidia.com/mps.capable " : "false" ,
91
91
},
92
92
},
93
93
{
94
94
descrition : "empty config" ,
95
95
config : & spec.Config {},
96
96
expectedLabels : map [string ]string {
97
- "nvidia.com/sharing. mps.enabled " : "false" ,
97
+ "nvidia.com/mps.capable " : "false" ,
98
98
},
99
99
},
100
100
{
@@ -111,7 +111,7 @@ func TestSharingLabeler(t *testing.T) {
111
111
},
112
112
},
113
113
expectedLabels : map [string ]string {
114
- "nvidia.com/sharing. mps.enabled " : "false" ,
114
+ "nvidia.com/mps.capable " : "false" ,
115
115
},
116
116
},
117
117
{
@@ -128,7 +128,7 @@ func TestSharingLabeler(t *testing.T) {
128
128
},
129
129
},
130
130
expectedLabels : map [string ]string {
131
- "nvidia.com/sharing. mps.enabled " : "false" ,
131
+ "nvidia.com/mps.capable " : "false" ,
132
132
},
133
133
},
134
134
{
@@ -145,7 +145,7 @@ func TestSharingLabeler(t *testing.T) {
145
145
},
146
146
},
147
147
expectedLabels : map [string ]string {
148
- "nvidia.com/sharing. mps.enabled " : "true" ,
148
+ "nvidia.com/mps.capable " : "true" ,
149
149
},
150
150
},
151
151
}
0 commit comments