Unverified Commit 50abe645 authored by weilaaa's avatar weilaaa Committed by GitHub
Browse files

add logs for warden reporter (#106)

parent a46bdf3d
Showing with 2 additions and 1 deletion
+2 -1
......@@ -59,7 +59,7 @@ func (r *Reporter) registerIfNeed(ctx context.Context) error {
return err
}
clog.Info("pivot cluster address is %v", cfg.Host)
clog.Info("pivot kubecube address is %v", r.PivotCubeHost)
return wait.Poll(3*time.Second, 15*time.Second, func() (done bool, err error) {
cluster := &clusterv1.Cluster{
......@@ -93,6 +93,7 @@ func (r *Reporter) report() bool {
}
if resp.StatusCode != http.StatusOK {
log.Debug("kubecube is unhealthy with resp code: %v", resp.StatusCode)
return false
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment