VSPERF: Timestamp Variable. 91/65591/1
authorSridhar K. N. Rao <sridhar.rao@spirent.com>
Wed, 5 Dec 2018 15:31:07 +0000 (21:01 +0530)
committerSridhar K. N. Rao <sridhar.rao@spirent.com>
Wed, 5 Dec 2018 15:33:07 +0000 (21:03 +0530)
LOG_TIMESTAMP name was misspelled. This patch fixes it.
This variable is only used by collectd-collector

Change-Id: I172dd96b717168cf3da76be6e631cc1d01af8663
Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
vsperf

diff --git a/vsperf b/vsperf
index 5c1d88a..4c41a7b 100755 (executable)
--- a/vsperf
+++ b/vsperf
@@ -237,7 +237,7 @@ def configure_logging(level):
     """
     date = datetime.datetime.fromtimestamp(time.time())
     timestamp = date.strftime('%Y-%m-%d_%H-%M-%S')
-    settings.setValue('LOG_TIMEMSTAMP', timestamp)
+    settings.setValue('LOG_TIMESTAMP', timestamp)
     name, ext = os.path.splitext(settings.getValue('LOG_FILE_DEFAULT'))
     rename_default = "{name}_{uid}{ex}".format(name=name, uid=timestamp, ex=ext)
     log_file_default = os.path.join(