Skip to content

Commit 1b00f0e

Browse files
committed
test and lint fixes after merge
1 parent 638ba6b commit 1b00f0e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api/v1/search/mongodbsearch_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
const (
1919
MongotDefaultPort = 27027
2020
MongotDefaultMetricsPort = 9946
21-
MongotDefautHealthCheckPort = 8080
21+
MongotDefautHealthCheckPort = 8080
2222
MongotDefaultSyncSourceUsername = "search-sync-source"
2323
)
2424

controllers/operator/mongodbsearch_controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func buildExpectedMongotConfig(search *searchv1.MongoDBSearch, mdbc *mdbcv1.Mong
9292
SyncSource: mongot.ConfigSyncSource{
9393
ReplicaSet: mongot.ConfigReplicaSet{
9494
HostAndPort: hostAndPorts,
95-
Username: "mongot-user",
95+
Username: searchv1.MongotDefaultSyncSourceUsername,
9696
PasswordFile: "/tmp/sourceUserPassword",
9797
TLS: ptr.To(false),
9898
ReadPreference: ptr.To("secondaryPreferred"),

0 commit comments

Comments
 (0)