Skip to content
This repository was archived by the owner on Feb 18, 2024. It is now read-only.

Commit 2f80074

Browse files
committed
fix: remove unnecessary log
1 parent dcc039d commit 2f80074

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

module-controller/internal/controller/moduledeployment_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ func (r *ModuleDeploymentReconciler) handleDeletingModuleDeployment(ctx context.
253253
return ctrl.Result{}, utils.Error(err, "Failed to delete moduleReplicaSet", "moduleReplicaSetName", replicaSetList.Items[i].Name)
254254
}
255255
}
256-
log.Log.Info("replicaset删除完毕")
256+
257257
requeueAfter := utils.GetNextReconcileTime(moduleDeployment.DeletionTimestamp.Time)
258258
return ctrl.Result{RequeueAfter: requeueAfter}, nil
259259
} else {

module-controller/internal/controller/modulereplicaset_controller.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,6 @@ func (r *ModuleReplicaSetReconciler) handleDeletingModuleReplicaSet(ctx context.
268268

269269
// generate module
270270
func (r *ModuleReplicaSetReconciler) generateModule(moduleReplicaSet *v1alpha1.ModuleReplicaSet, pod corev1.Pod) *v1alpha1.Module {
271-
log.Log.Info(fmt.Sprintf("生成新的module, name 为%v", moduleReplicaSet.Spec.Template.Spec.Module.Name))
272271

273272
moduleLabels := moduleReplicaSet.Labels
274273
moduleLabels[label.ModuleNameLabel] = moduleReplicaSet.Spec.Template.Spec.Module.Name

0 commit comments

Comments
 (0)