Skip to content

Commit

Permalink
add some additional log msgs for connect-init (hashicorp#569)
Browse files Browse the repository at this point in the history
* add some additional log msgs for connect-init
  • Loading branch information
kschoche authored Jul 26, 2021
1 parent d49e919 commit 8946d1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion subcommand/connect-init/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@ func (c *Command) Run(args []string) int {
// Once every 10 times we're going to print this informational message to the pod logs so that
// it is not "lost" to the user at the end of the retries when the pod enters a CrashLoop.
if registrationRetryCount%10 == 0 {
c.logger.Info("Check to ensure a Kubernetes service has been created for this application.")
c.logger.Info("Check to ensure a Kubernetes service has been created for this application." +
" If your pod is not starting also check the connect-inject deployment logs.")
}
return fmt.Errorf("did not find correct number of services: %d", len(serviceList))
}
Expand Down

0 comments on commit 8946d1a

Please sign in to comment.