From 869173718efa005b663e7ca39ed8f419c277bc80 Mon Sep 17 00:00:00 2001 From: Alexander Trost Date: Sat, 9 Jun 2018 15:43:50 +0200 Subject: [PATCH] build: Removed unnecessary whitespaces/new lines in scripts/docs cluster: Removed unnecessary whitespaces/new lines in scripts/docs Signed-off-by: Alexander Trost --- build/codegen/codegen.sh | 10 +++++----- cluster/charts/rook-ceph/templates/clusterrole.yaml | 2 +- .../charts/rook-ceph/templates/clusterrolebinding.yaml | 2 +- cluster/examples/kubernetes/README.md | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/build/codegen/codegen.sh b/build/codegen/codegen.sh index b33b50900..24204d63f 100755 --- a/build/codegen/codegen.sh +++ b/build/codegen/codegen.sh @@ -20,10 +20,10 @@ scriptdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd "${scriptdir}/../../vendor/k8s.io/code-generator" && ./generate-groups.sh \ - all \ - github.com/rook/rook/pkg/client \ - github.com/rook/rook/pkg/apis \ - "rook.io:v1alpha1,v1alpha2 ceph.rook.io:v1alpha1 cockroachdb.rook.io:v1alpha1 minio.rook.io:v1alpha1" + all \ + github.com/rook/rook/pkg/client \ + github.com/rook/rook/pkg/apis \ + "rook.io:v1alpha1,v1alpha2 ceph.rook.io:v1alpha1 cockroachdb.rook.io:v1alpha1 minio.rook.io:v1alpha1" # this seems busted in the release-1.8 branch # --go-header-file ${SCRIPT_ROOT}/build/codegen/header.txt @@ -40,5 +40,5 @@ find "${scriptdir}/../../pkg/client" -name "clientset_generated.go" -exec \ # Disables backslash+linefeed is literal check. find "${scriptdir}/../../pkg/client" -name "clientset_generated.go" -exec \ $SED 's/return \&Clientset{fakePtr, \&fakediscovery.FakeDiscovery{Fake: \&fakePtr}}/cs.discovery = \&fakediscovery.FakeDiscovery{Fake: \&cs.Fake}\ - return cs/g' {} + + return cs/g' {} + find "${scriptdir}/../../pkg/client" -name "clientset_generated.go.bak" -delete diff --git a/cluster/charts/rook-ceph/templates/clusterrole.yaml b/cluster/charts/rook-ceph/templates/clusterrole.yaml index 91008a81a..d56b49d7c 100644 --- a/cluster/charts/rook-ceph/templates/clusterrole.yaml +++ b/cluster/charts/rook-ceph/templates/clusterrole.yaml @@ -98,4 +98,4 @@ rules: verbs: - use {{- end }} -{{- end }} \ No newline at end of file +{{- end }} diff --git a/cluster/charts/rook-ceph/templates/clusterrolebinding.yaml b/cluster/charts/rook-ceph/templates/clusterrolebinding.yaml index 8dfc1188e..797d06d0a 100644 --- a/cluster/charts/rook-ceph/templates/clusterrolebinding.yaml +++ b/cluster/charts/rook-ceph/templates/clusterrolebinding.yaml @@ -37,4 +37,4 @@ subjects: name: rook-ceph-agent namespace: {{ .Release.Namespace }} {{- end }} -{{- end }} \ No newline at end of file +{{- end }} diff --git a/cluster/examples/kubernetes/README.md b/cluster/examples/kubernetes/README.md index a70219426..e5a5c5e6d 100644 --- a/cluster/examples/kubernetes/README.md +++ b/cluster/examples/kubernetes/README.md @@ -1 +1 @@ -For documentation on running Rook in your Kubernetes cluster see the [Kubernetes Quickstart Guide](/Documentation/quickstart.md) \ No newline at end of file +For documentation on running Rook in your Kubernetes cluster see the [Kubernetes Quickstart Guide](/Documentation/quickstart.md)