From c7efd8b0ec63430784dc6694213b9685ebdf3f9c Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 6 Mar 2020 18:18:09 +0000 Subject: make Mr. Lint happy --- internal/config/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/config') diff --git a/internal/config/config.go b/internal/config/config.go index 166e143..7241276 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -9,8 +9,8 @@ import ( // ControlUser is used for various DTail specific operations. const ControlUser string = "DTAIL-CONTROL-USER" -// ScheduledUser is used for scheduled queries. -const ScheduleUser string = "DTAIL-SCHEDULED-USER" +// ScheduleUser is used for scheduled queries. +const ScheduleUser string = "DTAIL-SCHEDULE-USER" // Client holds a DTail client configuration. var Client *ClientConfig -- cgit v1.2.3 From c3c76df50f2e1c784d938e3750b24f20cd4a5c8d Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 6 Mar 2020 18:21:02 +0000 Subject: simplify and get rid of pperf --- internal/config/common.go | 9 --------- 1 file changed, 9 deletions(-) (limited to 'internal/config') diff --git a/internal/config/common.go b/internal/config/common.go index 8c07710..57f040c 100644 --- a/internal/config/common.go +++ b/internal/config/common.go @@ -18,12 +18,6 @@ type CommonConfig struct { LogDir string // The cache directory CacheDir string - // Do we want to enable pperf http server? - PProfEnable bool `json:",omitempty"` - // The HTTP port used by PProf - PProfPort int `json:",omitempty"` - // The PProf HTTP server bind address - PProfBindAddress string `json:",omitempty"` } // Create a new default configuration. @@ -35,8 +29,5 @@ func newDefaultCommonConfig() *CommonConfig { ExperimentalFeaturesEnable: false, LogDir: "log", CacheDir: "cache", - PProfEnable: false, - PProfPort: 6060, - PProfBindAddress: "0.0.0.0", } } -- cgit v1.2.3