Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
mvshao committed Sep 23, 2024
1 parent 098deda commit f88cf4c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ func main() {
runtimeAgentConfigurator = controllers.NewRuntimeAgentConfigurator(directorClient, log)
}

requeueTime := time.Second * 5 //nolint:gomnd
requeueTimeForKubeconfig := time.Minute * 3 //nolint:gomnd
requeueTime := time.Second * 5 //nolint:mnd
requeueTimeForKubeconfig := time.Minute * 3 //nolint:mnd
metrics := metrics.NewMetrics()

compassManagerReconciler := controllers.NewCompassManagerReconciler(
Expand Down Expand Up @@ -187,7 +187,7 @@ func newHTTPClient(skipCertVerification bool) *http.Client {
Transport: &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: skipCertVerification},
},
Timeout: 30 * time.Second, //nolint:gomnd
Timeout: 30 * time.Second, //nolint:mnd
}
}

Expand Down

0 comments on commit f88cf4c

Please sign in to comment.