File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ func ReconcileCRSpecificConfigMap(ctx context.Context, client splcommon.Controll
256256 Namespace : cr .GetNamespace (),
257257 },
258258 Data : map [string ]string {
259- "ManualUpdate " : "off" ,
259+ "manualUpdate " : "off" ,
260260 },
261261 }
262262 err = client .Create (ctx , configMap )
@@ -272,14 +272,14 @@ func ReconcileCRSpecificConfigMap(ctx context.Context, client splcommon.Controll
272272 }
273273
274274 // Check if the ManualUpdate field exists
275- if _ , exists := configMap .Data ["ManualUpdate " ]; ! exists {
276- configMap .Data ["ManualUpdate " ] = "off"
275+ if _ , exists := configMap .Data ["manualUpdate " ]; ! exists {
276+ configMap .Data ["manualUpdate " ] = "off"
277277 err = client .Update (ctx , configMap )
278278 if err != nil {
279- scopedLog .Error (err , "Failed to update config map with ManualUpdate field" )
279+ scopedLog .Error (err , "Failed to update config map with manualUpdate field" )
280280 return err
281281 }
282- scopedLog .Info ("Updated config map with ManualUpdate set to 'on'" )
282+ scopedLog .Info ("Updated config map with manualUpdate set to 'on'" )
283283 }
284284
285285 return nil
You can’t perform that action at this time.
0 commit comments