Skip to content

Commit c7c3242

Browse files
committed
Fix log messaging
1 parent a9fafaa commit c7c3242

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-operator:
55
OP_YAML: oracle-database-operator.yaml
66
script:
77
- go version
8-
- echo $CI_COMMIT_TAG
8+
- echo $CI_COMMIT_SHORT_SHA
99
- make docker-build IMG="$IMAGE"
1010
- docker push "$IMAGE"
1111
- newimage=$DOCKER_REPO@$(skopeo inspect docker://$IMAGE | jq -r .Digest)

controllers/database/singleinstancedatabase_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2705,7 +2705,7 @@ func (r *SingleInstanceDatabaseReconciler) cleanupSingleInstanceDatabase(req ctr
27052705
if m.Status.DgBrokerConfigured {
27062706
eventReason := "Cannot Delete"
27072707
eventMsg := "database cannot be deleted as it is present in a DataGuard Broker configuration"
2708-
r.Recorder.Eventf(m, corev1.EventTypeWarning, eventReason, eventReason)
2708+
r.Recorder.Eventf(m, corev1.EventTypeWarning, eventReason, eventMsg)
27092709
return requeueY, errors.New(eventMsg)
27102710
}
27112711

0 commit comments

Comments
 (0)