Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions agent/backend/devicediscovery/device_discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,7 @@ func (d *deviceDiscoveryBackend) Start(ctx context.Context, cancelFunc context.C
}
version, readinessErr = d.Version()
if readinessErr == nil {
d.logger.Info("device-discovery readiness ok, got version ",
"device_discovery_version", version)
d.logger.Info("device-discovery readiness ok, got version", "version", version)
break
}
backoffDuration := time.Duration(backoff) * time.Second
Expand Down
3 changes: 1 addition & 2 deletions agent/backend/networkdiscovery/network_discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,7 @@ func (d *networkDiscoveryBackend) Start(ctx context.Context, cancelFunc context.
}
version, readinessErr = d.Version()
if readinessErr == nil {
d.logger.Info("network-discovery readiness ok, got version ",
"network_discovery_version", version)
d.logger.Info("network-discovery readiness ok, got version", "version", version)
break
}
backoffDuration := time.Duration(backoff) * time.Second
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,7 @@ func (o *openTelemetryBackend) Start(ctx context.Context, cancelFunc context.Can
}
version, readinessErr = o.Version()
if readinessErr == nil {
o.logger.Info("opentelemetry infinity readiness ok, got version ",
"opentelemetry_infinity_version", version)
o.logger.Info("opentelemetry infinity readiness ok, got version", "version", version)
break
}
backoffDuration := time.Duration(backoff) * time.Second
Expand Down
3 changes: 1 addition & 2 deletions agent/backend/pktvisor/pktvisor.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,7 @@ func (p *pktvisorBackend) Start(ctx context.Context, cancelFunc context.CancelFu
readinessError = backend.CommonRequest("pktvisor", p.proc, p.logger, url, &appMetrics, http.MethodGet,
http.NoBody, "application/json", readinessTimeout, "error")
if readinessError == nil {
p.logger.Info("pktvisor readiness ok, got version ",
"pktvisor_version", appMetrics.App.Version)
p.logger.Info("pktvisor readiness ok, got version", "version", appMetrics.App.Version)
break
}
backoffDuration := time.Duration(backoff) * time.Second
Expand Down
3 changes: 1 addition & 2 deletions agent/backend/snmpdiscovery/snmp_discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,7 @@ func (d *snmpDiscoveryBackend) Start(ctx context.Context, cancelFunc context.Can
}
version, readinessErr = d.Version()
if readinessErr == nil {
d.logger.Info("snmp-discovery readiness ok, got version ",
"snmp_discovery_version", version)
d.logger.Info("snmp-discovery readiness ok, got version", "version", version)
break
}
backoffDuration := time.Duration(backoff) * time.Second
Expand Down
3 changes: 1 addition & 2 deletions agent/backend/worker/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,7 @@ func (d *workerBackend) Start(ctx context.Context, cancelFunc context.CancelFunc
}
version, readinessErr = d.Version()
if readinessErr == nil {
d.logger.Info("worker readiness ok, got version ",
"worker_version", version)
d.logger.Info("worker readiness ok, got version", "version", version)
break
}
backoffDuration := time.Duration(backoff) * time.Second
Expand Down
Loading