Skip to content

Commit

Permalink
RED-32089 timestr is a const. renaming TIME_FORMAT
Browse files Browse the repository at this point in the history
(cherry picked from commit 2a52e7f)
  • Loading branch information
Roey Prat committed Sep 26, 2019
1 parent b583809 commit bb1c54a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions log_collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

output_dir = ""
namespace = ""
timestr = time.strftime("%Y%m%d-%H%M%S")
dir_name = "redis_enterprise_k8s_debug_info_{}".format(timestr)
TIME_FORMAT = time.strftime("%Y%m%d-%H%M%S")
dir_name = "redis_enterprise_k8s_debug_info_{}".format(TIME_FORMAT)

api_resources = [
"RedisEnterpriseCluster",
Expand Down Expand Up @@ -53,7 +53,7 @@ def run(configured_namespace, configured_output_path):
else:
namespace = get_namespace_from_config()

global timestr
global TIME_FORMAT
global dir_name

if configured_output_path:
Expand Down

0 comments on commit bb1c54a

Please sign in to comment.