Skip to content

Commit 804b779

Browse files
committed
Update swagger spec generation
1 parent 31367ee commit 804b779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/update-generated-swagger-spec.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ os::util::sed '$a\' "${generated_file}" # add eof newline if it is missing
5555
# Copy all protobuf generated specs into the api/protobuf-spec directory
5656
proto_spec_out_dir="${OS_ROOT}/${SWAGGER_SPEC_REL_DIR}/api/protobuf-spec"
5757
mkdir -p "${proto_spec_out_dir}"
58-
for proto_file in $( find "${OS_ROOT}/pkg" "${OS_ROOT}/vendor/k8s.io/kubernetes/pkg" -name generated.proto ); do
58+
for proto_file in $( find "${OS_ROOT}/vendor/github.com/openshift/api/" "${OS_ROOT}/vendor/k8s.io/kubernetes/staging/src/k8s.io/api/" -name generated.proto ); do
5959
# package declaration lines will always begin with
6060
# `package ` and end with `;` so to extract the
6161
# package name without lookarounds we can simply

0 commit comments

Comments
 (0)