Skip to content

Commit

Permalink
Incorporated review comment changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gangadharaswamy committed Mar 18, 2021
1 parent cc0771c commit 93108fb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions wavefront_cli/commands/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

from __future__ import print_function

import sys
import pwd
import os
import pwd
import sys
import time

from wavefront_cli import lib
Expand Down Expand Up @@ -170,8 +170,8 @@ def run(self):
if not lib.agent.tag_telegraf_config('cli user tags', tags):
sys.exit(1)

# check if user 'telegraf' has read permission for config path
# if not change owner of telegraf path to 'telegraf' user recursively
# check if user 'telegraf' has read permission for config path if
# not change owner of telegraf path to 'telegraf' user recursively
uid = pwd.getpwnam(agent_name).pw_uid
path = '/etc/telegraf'

Expand Down

0 comments on commit 93108fb

Please sign in to comment.