| Index: scripts/slave/goma_utils.py
|
| diff --git a/scripts/slave/goma_utils.py b/scripts/slave/goma_utils.py
|
| index 1a229368f769c24cd9358911955ba16523d251aa..671a1be2ef93c09f91c30852a5195c2de512a25c 100644
|
| --- a/scripts/slave/goma_utils.py
|
| +++ b/scripts/slave/goma_utils.py
|
| @@ -318,7 +318,12 @@ def SendGomaTsMon(json_file, exit_status):
|
| if start_time:
|
| counter['start_time'] = int(
|
| (start_time - datetime.datetime.fromtimestamp(0)).total_seconds())
|
| - cmd = [PLATFORM_RUN_CMD.get(os.name),
|
| + run_cmd = PLATFORM_RUN_CMD.get(os.name)
|
| + if not run_cmd:
|
| + print 'Unknown os.name: %s' % os.name
|
| + return
|
| + cmd = [sys.executable,
|
| + run_cmd,
|
| 'infra.tools.send_ts_mon_values', '--verbose',
|
| '--ts-mon-target-type', 'task',
|
| '--ts-mon-task-service-name', 'goma-client',
|
|
|