We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a462de5 commit b8a675cCopy full SHA for b8a675c
k8s-source/cmd/root.go
@@ -142,7 +142,9 @@ func run(_ *cobra.Command, _ []string) int {
142
if clusterName == "" {
143
clusterName = k8sURL.Host
144
}
145
-
+ if engineConfig.HeartbeatOptions == nil {
146
+ engineConfig.HeartbeatOptions = &discovery.HeartbeatOptions{}
147
+ }
148
engineConfig.HeartbeatOptions.HealthCheck = func(ctx context.Context) error {
149
ctx, cancel := context.WithTimeout(ctx, 10*time.Second)
150
defer cancel()
0 commit comments