Skip to content

Commit

Permalink
Add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Noor Malik committed Oct 13, 2022
1 parent 9023d23 commit 9ba00c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,11 @@ func handleSigterm(cancelFunc func()) {

// serve the HTTP endpoint for livenessProbe
func serveHealthz(address string) {
println("Endpoint is live!")

// Start the HTTP server
err := http.ListenAndServe(address, nil)
if err != nil {
log.Error(err)
} else {
log.Debug("Health server is running.")
}
}
1 change: 0 additions & 1 deletion secrets_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ func (c *SecretsController) getCreds(role string) (map[string][]byte, error) {
// Run runs the secret controller loop. This will refresh secrets with AWS IAM
// roles.
func (c *SecretsController) Run(ctx context.Context) {
println("Controller is running!")
// Defining the liveness check
var nextRefresh time.Time

Expand Down

0 comments on commit 9ba00c3

Please sign in to comment.