Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/v1/mongodbcommunity_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ type AgentConfiguration struct {
LogRotate *automationconfig.CrdLogRotate `json:"logRotate,omitempty"`
// +optional
// AuditLogRotate if enabled, will enable AuditLogRotate for all processes.
AuditLogRotate *automationconfig.CrdLogRotate `json:"AuditLogRotate,omitempty"`
AuditLogRotate *automationconfig.CrdLogRotate `json:"auditLogRotate,omitempty"`
// +optional
// SystemLog configures system log of mongod
SystemLog *automationconfig.SystemLog `json:"systemLog,omitempty"`
Expand Down
5 changes: 5 additions & 0 deletions api/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ spec:
description: AgentConfiguration sets options for the MongoDB automation
agent
properties:
AuditLogRotate:
auditLogRotate:
description: AuditLogRotate if enabled, will enable AuditLogRotate
for all processes.
properties:
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/mongodbtests/mongodbtests.go
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ func ConnectionStringSecretIsCleanedUp(ctx context.Context, mdb *mdbv1.MongoDBCo
return func(t *testing.T) {
connectionStringSecret := corev1.Secret{}
newErr := e2eutil.TestClient.Get(ctx, types.NamespacedName{Name: removedConnectionString, Namespace: mdb.Namespace}, &connectionStringSecret)

assert.EqualError(t, newErr, fmt.Sprintf("secrets \"%s\" not found", removedConnectionString))
}
}
Expand Down
Loading