Skip to content

Commit

Permalink
fixing unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Jaydip Gabani <[email protected]>
  • Loading branch information
JaydipGabani committed Oct 22, 2024
1 parent 5c0eb8c commit 7c48595
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions pkg/controller/export/export_config_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,8 @@ import (
)

var (
<<<<<<< HEAD
ExportEnabled = flag.Bool("enable-pub-sub", false, "(alpha) Enabled pubsub to publish messages")
log = logf.Log.WithName("controller").WithValues(logging.Process, "pubsub_controller")
=======
ExportEnabled = flag.Bool("enable-pub-sub", false, "Enable export backend to publish messages")
log = logf.Log.WithName("controller").WithValues(logging.Process, "export_controller")
>>>>>>> fixing errors
)

type Adder struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/export/export_config_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func TestReconcile(t *testing.T) {
},
},
wantErr: true,
errorMsg: fmt.Sprintf("data missing in configmap %s, unable to configure respective driver", request.NamespacedName),
errorMsg: fmt.Sprintf("data missing in configmap %s, unable to establish connection", request.NamespacedName),
},
}
for _, tc := range testCases {
Expand Down

0 comments on commit 7c48595

Please sign in to comment.