From 84667ac0b5bd97d41657c1a31744ff998cbfada1 Mon Sep 17 00:00:00 2001 From: derekwaynecarr Date: Fri, 27 Mar 2015 16:30:12 -0400 Subject: [PATCH] Eliminate trailing commas --- examples/kubernetes-namespaces/namespace-dev.json | 2 +- examples/kubernetes-namespaces/namespace-prod.json | 2 +- .../kubernetes-namespaces/v1beta3/namespace-dev.json | 4 ++-- .../kubernetes-namespaces/v1beta3/namespace-prod.json | 4 ++-- examples/limitrange/invalid-pod.json | 4 ++-- examples/limitrange/limit-range.json | 8 ++++---- examples/limitrange/v1beta3/invalid-pod.json | 4 ++-- examples/limitrange/v1beta3/limit-range.json | 10 +++++----- examples/limitrange/v1beta3/valid-pod.json | 10 +++++----- 9 files changed, 24 insertions(+), 24 deletions(-) diff --git a/examples/kubernetes-namespaces/namespace-dev.json b/examples/kubernetes-namespaces/namespace-dev.json index 12d7da4b7a4f2..2058031db3da7 100644 --- a/examples/kubernetes-namespaces/namespace-dev.json +++ b/examples/kubernetes-namespaces/namespace-dev.json @@ -6,5 +6,5 @@ "status": {}, "labels": { "name": "development" - }, + } } diff --git a/examples/kubernetes-namespaces/namespace-prod.json b/examples/kubernetes-namespaces/namespace-prod.json index 9f3e49b8d6a73..2901caa20ff1f 100644 --- a/examples/kubernetes-namespaces/namespace-prod.json +++ b/examples/kubernetes-namespaces/namespace-prod.json @@ -6,5 +6,5 @@ "status": {}, "labels": { "name": "production" - }, + } } diff --git a/examples/kubernetes-namespaces/v1beta3/namespace-dev.json b/examples/kubernetes-namespaces/v1beta3/namespace-dev.json index a64d6fd4c7a1a..adfd186bc6434 100644 --- a/examples/kubernetes-namespaces/v1beta3/namespace-dev.json +++ b/examples/kubernetes-namespaces/v1beta3/namespace-dev.json @@ -2,10 +2,10 @@ "apiVersion":"v1beta3", "kind": "Namespace", "metadata": { - "name": "development", + "name": "development" }, "spec": {}, "labels": { "name": "development" - }, + } } diff --git a/examples/kubernetes-namespaces/v1beta3/namespace-prod.json b/examples/kubernetes-namespaces/v1beta3/namespace-prod.json index a11429063fce9..0b4526030a8ba 100644 --- a/examples/kubernetes-namespaces/v1beta3/namespace-prod.json +++ b/examples/kubernetes-namespaces/v1beta3/namespace-prod.json @@ -2,10 +2,10 @@ "apiVersion":"v1beta3", "kind": "Namespace", "metadata": { - "name": "production", + "name": "production" }, "spec": {}, "labels": { "name": "production" - }, + } } diff --git a/examples/limitrange/invalid-pod.json b/examples/limitrange/invalid-pod.json index 28a4d83e04271..03573de69db57 100644 --- a/examples/limitrange/invalid-pod.json +++ b/examples/limitrange/invalid-pod.json @@ -11,8 +11,8 @@ "id": "invalid-pod", "containers": [{ "name": "kubernetes-serve-hostname", - "image": "kubernetes/serve_hostname", + "image": "kubernetes/serve_hostname" }] } - }, + } } \ No newline at end of file diff --git a/examples/limitrange/limit-range.json b/examples/limitrange/limit-range.json index f3ade396f4528..6e8906c5542b9 100644 --- a/examples/limitrange/limit-range.json +++ b/examples/limitrange/limit-range.json @@ -8,7 +8,7 @@ "type": "Pod", "max": { "memory": "1073741824", - "cpu": "2", + "cpu": "2" }, "min": { "memory": "1048576", @@ -19,13 +19,13 @@ "type": "Container", "max": { "memory": "1073741824", - "cpu": "2", + "cpu": "2" }, "min": { "memory": "1048576", "cpu": "0.25" } - }, - ], + } + ] } } diff --git a/examples/limitrange/v1beta3/invalid-pod.json b/examples/limitrange/v1beta3/invalid-pod.json index 55b94e3c2624b..1e6f0b85d2bf9 100644 --- a/examples/limitrange/v1beta3/invalid-pod.json +++ b/examples/limitrange/v1beta3/invalid-pod.json @@ -2,7 +2,7 @@ "apiVersion":"v1beta3", "kind": "Pod", "metadata": { - "name": "invalid-pod", + "name": "invalid-pod" }, "labels": { "name": "invalid-pod" @@ -10,7 +10,7 @@ "spec": { "containers": [{ "name": "kubernetes-serve-hostname", - "image": "kubernetes/serve_hostname", + "image": "kubernetes/serve_hostname" }] } } diff --git a/examples/limitrange/v1beta3/limit-range.json b/examples/limitrange/v1beta3/limit-range.json index 73d8924e46336..64333656a6860 100644 --- a/examples/limitrange/v1beta3/limit-range.json +++ b/examples/limitrange/v1beta3/limit-range.json @@ -2,7 +2,7 @@ "apiVersion": "v1beta3", "kind": "LimitRange", "metadata": { - "name": "limits", + "name": "limits" }, "spec": { "limits": [ @@ -10,7 +10,7 @@ "type": "Pod", "max": { "memory": "1Gi", - "cpu": "2", + "cpu": "2" }, "min": { "memory": "1Mi", @@ -21,13 +21,13 @@ "type": "Container", "max": { "memory": "1Gi", - "cpu": "2", + "cpu": "2" }, "min": { "memory": "1Mi", "cpu": "250m" } - }, - ], + } + ] } } diff --git a/examples/limitrange/v1beta3/valid-pod.json b/examples/limitrange/v1beta3/valid-pod.json index f52c1b3a39dcd..d470f29f4788c 100644 --- a/examples/limitrange/v1beta3/valid-pod.json +++ b/examples/limitrange/v1beta3/valid-pod.json @@ -2,7 +2,7 @@ "apiVersion":"v1beta3", "kind": "Pod", "metadata": { - "name": "valid-pod", + "name": "valid-pod" }, "labels": { "name": "valid-pod" @@ -14,9 +14,9 @@ "resources": { "limits": { "cpu": "1", - "memory": "1Mi", - }, - }, + "memory": "1Mi" + } + } }] - }, + } }