Skip to content

Commit

Permalink
Refine plugin code
Browse files Browse the repository at this point in the history
  • Loading branch information
jondy committed Mar 28, 2020
1 parent 07dddba commit cff3cb7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/check_ntp_time.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,8 +468,7 @@ def _get_license_data():
return rcode[index+1:]


def check_ntp_time():
NTP_SERVER = 'europe.pool.ntp.org'
def check_ntp_time(NTP_SERVER='europe.pool.ntp.org'):
EXPIRED_DATE = _get_license_data()
c = NTPClient()
response = c.request(NTP_SERVER, version=3)
Expand Down

0 comments on commit cff3cb7

Please sign in to comment.