Skip to content

Commit

Permalink
fix path to cluster-capacity boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
ingvagabund committed Feb 15, 2017
1 parent 32b1d2e commit 7e42117
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions verify/boilerplate/boilerplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
parser.add_argument(
"--rootdir", default=rootdir, help="root directory to examine")

default_boilerplate_dir = os.path.join(rootdir, "repo-infra/verify/boilerplate")
default_boilerplate_dir = os.path.join(rootdir, "cluster-capacity/verify/boilerplate")
parser.add_argument(
"--boilerplate-dir", default=default_boilerplate_dir)

Expand Down Expand Up @@ -132,7 +132,7 @@ def file_extension(filename):

skipped_dirs = ['Godeps', 'third_party', '_gopath', '_output', '.git',
'cluster/env.sh', 'vendor', 'test/e2e/generated/bindata.go',
'repo-infra/verify/boilerplate/test', '.glide']
'cluster-capacity/verify/boilerplate/test', '.glide']

def normalize_files(files):
newfiles = []
Expand Down
2 changes: 1 addition & 1 deletion verify/verify-boilerplate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ set -o pipefail

REPO_ROOT=$(dirname "${BASH_SOURCE}")/../..

boilerDir="${REPO_ROOT}/repo-infra/verify/boilerplate"
boilerDir="${REPO_ROOT}/cluster-capacity/verify/boilerplate"
boiler="${boilerDir}/boilerplate.py"

files_need_boilerplate=($(${boiler} "$@"))
Expand Down

0 comments on commit 7e42117

Please sign in to comment.