Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Revert "[mesheryctl] Bug fixes in mesheryctl system start"" #10993

Merged

Conversation

MUzairS15
Copy link
Contributor

Reverts #10992

server/cmd/main.go Outdated Show resolved Hide resolved
Signed-off-by: Mohd Uzair <muzair.shaikh810@gmail.com>
@@ -304,7 +305,7 @@ func main() {

models.InitMeshSyncRegistrationQueue()
mhelpers.InitRegistrationHelperSingleton(dbHandler, log, &connToInstanceTracker, hc.EventBroadcaster)
h := handlers.NewHandlerInstance(hc, meshsyncCh, log, brokerConn, k8sComponentsRegistrationHelper, mctrlHelper, dbHandler, events.NewEventStreamer(), regManager, viper.GetString("PROVIDER"), &rego, &connToInstanceTracker)
h := handlers.NewHandlerInstance(hc, meshsyncCh, log, brokerConn, k8sComponentsRegistrationHelper, mctrlHelper, dbHandler, events.NewEventStreamer(), regManager, viper.GetString(constants.ProviderENV), &rego, &connToInstanceTracker)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@leecalcote viper.GetString() was missing instead only the env var key was getting passed and not the value of the env var.

Copy link

github-actions bot commented May 18, 2024

@leecalcote leecalcote merged commit 970b7bc into master May 20, 2024
13 of 16 checks passed
@leecalcote leecalcote deleted the revert-10992-revert-10961-MUzairS15/mesheryctl/start branch May 20, 2024 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants