diff options
| author | Paul Buetow <pbuetow@mimecast.com> | 2020-06-17 12:59:15 +0100 |
|---|---|---|
| committer | Paul Buetow <pbuetow@mimecast.com> | 2020-06-17 12:59:15 +0100 |
| commit | b7b528277014879e436ae7fe1f3851024938fbd3 (patch) | |
| tree | 8be1cc0ecf3a25c390c9a7ad97afb5aa52a6c512 /internal/user/server | |
| parent | 4da9ed0f4ded049e28607cc7ea78c8b091ca721b (diff) | |
initial log monitoring support
Diffstat (limited to 'internal/user/server')
| -rw-r--r-- | internal/user/server/user.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/user/server/user.go b/internal/user/server/user.go index 47dc3f1..29158df 100644 --- a/internal/user/server/user.go +++ b/internal/user/server/user.go @@ -41,8 +41,8 @@ func (u *User) String() string { func (u *User) HasFilePermission(filePath, permissionType string) (hasPermission bool) { logger.Debug(u, filePath, permissionType, "Checking config permissions") - if u.Name == config.ScheduleUser { - // Schedule user has same permissions as dtail process itself. + if u.Name == config.BackgroundUser { + // Background user has same permissions as dtail process itself. return true } |
