Skip to content

Commit

Permalink
delete log statement + correction after linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafouf69 committed Feb 27, 2024
1 parent 3632387 commit 7a47bb4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
"github.com/prometheus/client_golang/prometheus"
)

func CollectorInitial(target string, protocol int, duration time.Duration, highDrift time.Duration) Collector {
func CollectorInitial(target string, protocol int, duration, highDrift time.Duration) Collector {
return Collector{
NtpServer: target,
NtpProtocolVersion: protocol,
Expand Down
2 changes: 0 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,6 @@ func init() {
func handlerMetrics(w http.ResponseWriter, r *http.Request) {
defer r.Body.Close()

log.Printf("INFO: new request")

s := ntpServer
p := ntpProtocolVersion
d := ntpMeasurementDuration
Expand Down

0 comments on commit 7a47bb4

Please sign in to comment.