@@ -1066,7 +1066,7 @@ func (r *KataConfigOpenShiftReconciler) processKataConfigInstallRequest() (ctrl.
1066
1066
r .Log .Info ("SCNodeRole is: " + machinePool )
1067
1067
}
1068
1068
1069
- wasMcJustCreated , err := r .createExtensionMc (machinePool )
1069
+ wasMcJustCreated , err := r .createMc (machinePool )
1070
1070
if err != nil {
1071
1071
return ctrl.Result {Requeue : true }, nil
1072
1072
}
@@ -1263,22 +1263,22 @@ func (r *KataConfigOpenShiftReconciler) processKataConfigInstallRequest() (ctrl.
1263
1263
// If the first return value is 'true' it means that the MC was just created
1264
1264
// by this call, 'false' means that it's already existed. As usual, the first
1265
1265
// return value is only valid if the second one is nil.
1266
- func (r * KataConfigOpenShiftReconciler ) createExtensionMc (machinePool string ) (bool , error ) {
1266
+ func (r * KataConfigOpenShiftReconciler ) createMc (machinePool string ) (bool , error ) {
1267
1267
1268
1268
// In case we're returning an error we want to make it explicit that
1269
1269
// the first return value is "not care". Unfortunately golang seems
1270
1270
// to lack syntax for creating an expression with default bool value
1271
1271
// hence this work-around.
1272
1272
var dummy bool
1273
1273
1274
- /* Create Machine Config object to enable sandboxed containers RHCOS extension */
1274
+ /* Create Machine Config object to install sandboxed containers */
1275
1275
1276
1276
if r .ExistingMc != nil {
1277
1277
r .Log .Info ("Existing MachineConfig already exists" )
1278
1278
return false , nil
1279
1279
}
1280
1280
1281
- r .Log .Info ("creating RHCOS extension MachineConfig" )
1281
+ r .Log .Info ("creating RHCOS MachineConfig" )
1282
1282
mc , err := r .newMCForCR (machinePool )
1283
1283
if err != nil {
1284
1284
return dummy , err
0 commit comments