Skip to content

Commit 9b76b48

Browse files
committed
Delete unneeded comments
1 parent b2ff680 commit 9b76b48

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

controllers/mongodbdatabase_controller.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ func (r *MongoDBDatabaseReconciler) Reconcile(req ctrl.Request) (ctrl.Result, er
5858
if err := r.Get(ctx, req.NamespacedName, &database); err != nil {
5959
if apierrors.IsNotFound(err) {
6060
// resource no longer present. Consider dropping a database? What about data, it will be lost.. Probably acceptable for devboxes
61-
// How to do it, though? Resource doesn't exist anymore, so we need to list all databases and all manifests and compare?
6261
return ctrl.Result{}, nil
6362
}
6463
return ctrl.Result{}, err

controllers/postgresqldatabase_controller.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ func (r *PostgreSQLDatabaseReconciler) Reconcile(req ctrl.Request) (ctrl.Result,
6262
if err := r.Get(ctx, req.NamespacedName, &database); err != nil {
6363
if apierrors.IsNotFound(err) {
6464
// resource no longer present. Consider dropping a database? What about data, it will be lost.. Probably acceptable for devboxes
65-
// How to do it, though? Resource doesn't exist anymore, so we need to list all databases and all manifests and compare?
6665
return ctrl.Result{}, nil
6766
}
6867
return ctrl.Result{}, err

0 commit comments

Comments
 (0)