summaryrefslogtreecommitdiff
path: root/internal/io
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2021-10-24 13:34:06 +0300
committerPaul Buetow <paul@buetow.org>2021-10-24 13:34:19 +0300
commit14959ffba46282dd7b8ada53db0dfc0e1b26ab2e (patch)
tree0b207cb61af3aa2bd93a0c5c864ec91246dd4595 /internal/io
parentac2d6fa5d054ca725a7268eb1a8e050525372c34 (diff)
Fix DCat color test.
Diffstat (limited to 'internal/io')
-rw-r--r--internal/io/dlog/dlog.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/io/dlog/dlog.go b/internal/io/dlog/dlog.go
index 5e0c3a1..ff2cef4 100644
--- a/internal/io/dlog/dlog.go
+++ b/internal/io/dlog/dlog.go
@@ -78,7 +78,7 @@ type DLog struct {
// new creates a new DTail logger.
func new(sourceProcess, sourcePackage source.Source) *DLog {
- hostname, err := os.Hostname()
+ hostname, err := config.Hostname()
if err != nil {
panic(err)
}