Skip to content

Commit 781d27a

Browse files
committed
hack/update-swagger-spec.sh: use posix regex syntax
1 parent f096276 commit 781d27a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: hack/update-swagger-spec.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ kube::log::status "Starting kube-apiserver"
6969
--etcd-servers="http://${ETCD_HOST}:${ETCD_PORT}" \
7070
--advertise-address="10.10.10.10" \
7171
--cert-dir="${TMP_DIR}/certs" \
72-
--runtime-config=$(echo "${KUBE_AVAILABLE_GROUP_VERSIONS}" | sed "s|\s|,|g") \
72+
--runtime-config=$(echo "${KUBE_AVAILABLE_GROUP_VERSIONS}" | sed -E 's|[[:blank:]]+|,|g') \
7373
--service-cluster-ip-range="10.0.0.0/24" >/tmp/swagger-api-server.log 2>&1 &
7474
APISERVER_PID=$!
7575

0 commit comments

Comments
 (0)