From 21cce8553939dc02de608e333c515ed2b67d9806 Mon Sep 17 00:00:00 2001 From: Chris Leffler <37558800+chrisleffler@users.noreply.github.com> Date: Wed, 29 Jun 2022 11:53:32 -0500 Subject: [PATCH] added invalid_keys to push_synthetics_*_tests --- Dogmover/dogmover.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dogmover/dogmover.py b/Dogmover/dogmover.py index fb3580a..0498dce 100755 --- a/Dogmover/dogmover.py +++ b/Dogmover/dogmover.py @@ -373,7 +373,7 @@ def push_synthetics_api_tests(options): with open(synthetic) as f: data = json.load(f) count = count + 1 - invalid_keys = ["public_id", "monitor_id"] + invalid_keys = ["public_id", "monitor_id", "modified_at", "creator", "created_at"] list(map(data.pop, invalid_keys)) print("Pushing {}".format(data["name"].encode('utf8'))) if not arguments["--dry-run"]: @@ -390,7 +390,7 @@ def push_synthetics_browser_tests(options): with open(synthetic) as f: data = json.load(f) count = count + 1 - invalid_keys = ["public_id", "monitor_id"] + invalid_keys = ["public_id", "monitor_id", "modified_at", "creator", "created_at"] list(map(data.pop, invalid_keys)) print("Pushing {}".format(data["name"].encode('utf8'))) if not arguments["--dry-run"]: