From 787cf47c39048518f40370a95e374083d5cbc452 Mon Sep 17 00:00:00 2001 From: Matt Moyer Date: Fri, 14 Aug 2020 14:42:49 -0500 Subject: [PATCH] Standardize whitespace/newlines for consistency. Signed-off-by: Matt Moyer --- deploy/README.md | 2 +- hack/header.txt | 2 +- hack/test-unit.sh | 2 +- hack/update.sh | 2 +- internal/downward/testdata/invalidlabels/labels | 2 +- internal/downward/testdata/invalidlabels/namespace | 2 +- internal/downward/testdata/missinglabels/namespace | 2 +- internal/downward/testdata/valid/labels | 2 +- internal/downward/testdata/valid/namespace | 2 +- internal/server/testdata/podinfo/labels | 2 +- internal/server/testdata/podinfo/namespace | 2 +- internal/server/testdata/valid-config.yaml | 1 - pkg/config/testdata/happy.yaml | 1 - pkg/config/testdata/no-discovery.yaml | 1 - 14 files changed, 11 insertions(+), 14 deletions(-) diff --git a/deploy/README.md b/deploy/README.md index 6ec85a6aa..9a03d551f 100644 --- a/deploy/README.md +++ b/deploy/README.md @@ -3,7 +3,7 @@ This example deployment uses `ytt` and `kapp` from [k14s.io](https://k14s.io/). If you would rather not install these command-line tools directly on your machine, -you can use alternatively get the most recent version of this container image: +you can use alternatively get the most recent version of this container image: https://hub.docker.com/r/k14s/image/tags 1. Fill in the values in [values.yml](values.yaml) diff --git a/hack/header.txt b/hack/header.txt index 9c120c6d7..fce474487 100644 --- a/hack/header.txt +++ b/hack/header.txt @@ -1,2 +1,2 @@ Copyright 2020 VMware, Inc. -SPDX-License-Identifier: Apache-2.0 \ No newline at end of file +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/test-unit.sh b/hack/test-unit.sh index 1100c91ee..38c0bc8e2 100755 --- a/hack/test-unit.sh +++ b/hack/test-unit.sh @@ -5,4 +5,4 @@ set -euo pipefail ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )" -"$ROOT/hack/module.sh" unittest \ No newline at end of file +"$ROOT/hack/module.sh" unittest diff --git a/hack/update.sh b/hack/update.sh index 5d0701273..e855c2d74 100755 --- a/hack/update.sh +++ b/hack/update.sh @@ -6,4 +6,4 @@ set -euo pipefail ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )" "$ROOT/hack/module.sh" tidy -"$ROOT/hack/update-codegen.sh" \ No newline at end of file +"$ROOT/hack/update-codegen.sh" diff --git a/internal/downward/testdata/invalidlabels/labels b/internal/downward/testdata/invalidlabels/labels index e466dcbd8..9977a2836 100644 --- a/internal/downward/testdata/invalidlabels/labels +++ b/internal/downward/testdata/invalidlabels/labels @@ -1 +1 @@ -invalid \ No newline at end of file +invalid diff --git a/internal/downward/testdata/invalidlabels/namespace b/internal/downward/testdata/invalidlabels/namespace index d2826d002..f2605f230 100644 --- a/internal/downward/testdata/invalidlabels/namespace +++ b/internal/downward/testdata/invalidlabels/namespace @@ -1 +1 @@ -test-namespace \ No newline at end of file +test-namespace diff --git a/internal/downward/testdata/missinglabels/namespace b/internal/downward/testdata/missinglabels/namespace index d2826d002..f2605f230 100644 --- a/internal/downward/testdata/missinglabels/namespace +++ b/internal/downward/testdata/missinglabels/namespace @@ -1 +1 @@ -test-namespace \ No newline at end of file +test-namespace diff --git a/internal/downward/testdata/valid/labels b/internal/downward/testdata/valid/labels index 433404c15..e5880cda4 100644 --- a/internal/downward/testdata/valid/labels +++ b/internal/downward/testdata/valid/labels @@ -1,2 +1,2 @@ foo="bar" -bat="baz" \ No newline at end of file +bat="baz" diff --git a/internal/downward/testdata/valid/namespace b/internal/downward/testdata/valid/namespace index d2826d002..f2605f230 100644 --- a/internal/downward/testdata/valid/namespace +++ b/internal/downward/testdata/valid/namespace @@ -1 +1 @@ -test-namespace \ No newline at end of file +test-namespace diff --git a/internal/server/testdata/podinfo/labels b/internal/server/testdata/podinfo/labels index 433404c15..e5880cda4 100644 --- a/internal/server/testdata/podinfo/labels +++ b/internal/server/testdata/podinfo/labels @@ -1,2 +1,2 @@ foo="bar" -bat="baz" \ No newline at end of file +bat="baz" diff --git a/internal/server/testdata/podinfo/namespace b/internal/server/testdata/podinfo/namespace index d2826d002..f2605f230 100644 --- a/internal/server/testdata/podinfo/namespace +++ b/internal/server/testdata/podinfo/namespace @@ -1 +1 @@ -test-namespace \ No newline at end of file +test-namespace diff --git a/internal/server/testdata/valid-config.yaml b/internal/server/testdata/valid-config.yaml index 00c2e78bf..234d9de84 100644 --- a/internal/server/testdata/valid-config.yaml +++ b/internal/server/testdata/valid-config.yaml @@ -2,4 +2,3 @@ webhook: url: https://tuna.com/fish?marlin caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tLi4u - diff --git a/pkg/config/testdata/happy.yaml b/pkg/config/testdata/happy.yaml index ebbfac723..ca6e82bbe 100644 --- a/pkg/config/testdata/happy.yaml +++ b/pkg/config/testdata/happy.yaml @@ -4,4 +4,3 @@ discovery: webhook: url: https://tuna.com/fish?marlin caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tLi4u - diff --git a/pkg/config/testdata/no-discovery.yaml b/pkg/config/testdata/no-discovery.yaml index 00c2e78bf..234d9de84 100644 --- a/pkg/config/testdata/no-discovery.yaml +++ b/pkg/config/testdata/no-discovery.yaml @@ -2,4 +2,3 @@ webhook: url: https://tuna.com/fish?marlin caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tLi4u -