pkg update

This commit is contained in:
Stephan D
2026-01-30 16:07:28 +01:00
parent 51f5b0804a
commit 809370bda8
13 changed files with 389 additions and 30 deletions

View File

@@ -166,5 +166,5 @@ func DefaultInvokeURI(service string) string {
if clean == "" {
return ""
}
return "grpc://" + clean
return clean
}

View File

@@ -40,10 +40,10 @@ func announcementFields(announce Announcement) []zap.Field {
fields = append(fields, zap.Int("currencies", len(announce.Currencies)))
}
if announce.Health.IntervalSec > 0 {
fields = append(fields, zap.Int("interval_sec", announce.Health.IntervalSec))
fields = append(fields, zap.Int("interval_seconds", announce.Health.IntervalSec))
}
if announce.Health.TimeoutSec > 0 {
fields = append(fields, zap.Int("timeout_sec", announce.Health.TimeoutSec))
fields = append(fields, zap.Int("timeout_seconds", announce.Health.TimeoutSec))
}
return fields
}