Skip to content

Commit

Permalink
Merge pull request #29 from smartcontractkit/healthcheck
Browse files Browse the repository at this point in the history
Changing to OK
  • Loading branch information
yashnevatia authored Jan 18, 2024
2 parents b74f5c6 + 1d895e5 commit 3162087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func startCommand() *cobra.Command {
}
// Set healthStatus to error on startup.
// Will be set to "ok" once the rpc connection and subscription is successful.
timelock.SetHealthStatus(timelock.HealthStatusError)
timelock.SetHealthStatus(timelock.HealthStatusOK)

startCmd.Flags().StringVarP(&nodeURL, "node-url", "n", timelockConf.NodeURL, "RPC Endpoint for the target blockchain")
startCmd.Flags().StringVarP(&timelockAddress, "timelock-address", "a", timelockConf.TimelockAddress, "Address of the target Timelock contract")
Expand Down

0 comments on commit 3162087

Please sign in to comment.