Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
  • Loading branch information
bwplotka committed Nov 28, 2018
1 parent cf4b364 commit c757b05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkg/kedge/http/lbtransport/transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ func (s *tripper) run(ctx context.Context, watcher naming.Watcher) {
}
fmt.Fprintln(os.Stderr, "After next ", len(updates))


for _, u := range updates {
if u.Op == naming.Add {
localCurrentTargets = append(localCurrentTargets, &Target{DialAddr: u.Addr})
Expand Down
3 changes: 2 additions & 1 deletion pkg/resolvers/host/host.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,14 @@ var (
Namespace: "kedge",
Subsystem: "dns_host",
Name: "resolutions_hist",
Help: "debug.",
Help: "debug2.",
},
[]string{"target"},
)
)

func init() {
fmt.Fprintln(os.Stderr, "what.")
prometheus.MustRegister(res)
prometheus.MustRegister(resHist)
}
Expand Down

0 comments on commit c757b05

Please sign in to comment.