@@ -113,6 +113,8 @@ func buildADPodSpec(
113
113
buildMustJoinCtr (planner , joinEnv , joinVols ),
114
114
}
115
115
podSpec .Containers = containers
116
+ // we have no logger to log the json syntax error to. have to ignore it for now
117
+ podSpec .NodeSelector , _ = planner .NodeSelector ()
116
118
return podSpec
117
119
}
118
120
@@ -148,6 +150,8 @@ func buildUserPodSpec(
148
150
podSpec .Volumes = getVolumes (volumes .all ())
149
151
podSpec .Containers = buildSmbdCtrs (planner , podEnv , volumes )
150
152
podSpec .InitContainers = initContainers
153
+ // we have no logger to log the json syntax error to. have to ignore it for now
154
+ podSpec .NodeSelector , _ = planner .NodeSelector ()
151
155
return podSpec
152
156
}
153
157
@@ -261,6 +265,8 @@ func buildClusteredUserPodSpec(
261
265
podSpec .Volumes = getVolumes (volumes .all ())
262
266
podSpec .InitContainers = initContainers
263
267
podSpec .Containers = containers
268
+ // we have no logger to log the json syntax error to. have to ignore it for now
269
+ podSpec .NodeSelector , _ = planner .NodeSelector ()
264
270
return podSpec
265
271
}
266
272
@@ -416,6 +422,8 @@ func buildClusteredADPodSpec(
416
422
podSpec .Volumes = getVolumes (volumes .all ())
417
423
podSpec .InitContainers = initContainers
418
424
podSpec .Containers = containers
425
+ // we have no logger to log the json syntax error to. have to ignore it for now
426
+ podSpec .NodeSelector , _ = planner .NodeSelector ()
419
427
return podSpec
420
428
}
421
429
0 commit comments