Skip to content

Commit

Permalink
Remove double import
Browse files Browse the repository at this point in the history
  • Loading branch information
jjngx authored and haywoodsh committed Nov 16, 2022
1 parent 3ee5480 commit dcebe1c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/healthcheck/healthcheck.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
"strings"
"time"

apiv1 "k8s.io/api/core/v1"
v1 "k8s.io/api/core/v1"

"github.com/go-chi/chi"
Expand All @@ -25,7 +24,7 @@ import (
//
// If the server encounters an error and it can't start
// it exits with code 255 (glog.Fatal).
func RunHealthCheck(port int, plusClient *client.NginxClient, cnf *configs.Configurator, healthProbeTLSSecret *apiv1.Secret) {
func RunHealthCheck(port int, plusClient *client.NginxClient, cnf *configs.Configurator, healthProbeTLSSecret *v1.Secret) {
err := RunHealtcheckServer(strconv.Itoa(port), plusClient, cnf, healthProbeTLSSecret)
if err != nil {
glog.Fatal(err)
Expand Down

0 comments on commit dcebe1c

Please sign in to comment.