mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-05-01 13:24:05 +00:00
runtime: Fix shellcheck issues in update-generated-runtime-proto.sh
Fix shellcheck warnings and notes identified by running shellcheck --severity=style. Signed-off-by: Fabiano Fidêncio <ffidencio@nvidia.com>
This commit is contained in:
@@ -7,9 +7,10 @@
|
||||
|
||||
CACHE_PATH="protocols/cache"
|
||||
|
||||
# shellcheck disable=SC2154
|
||||
protoc \
|
||||
-I=$GOPATH/src \
|
||||
--proto_path=$CACHE_PATH \
|
||||
--go_out=$CACHE_PATH \
|
||||
--go-grpc_out=$CACHE_PATH \
|
||||
$CACHE_PATH/cache.proto
|
||||
-I="${GOPATH}/src" \
|
||||
--proto_path="${CACHE_PATH}" \
|
||||
--go_out="${CACHE_PATH}" \
|
||||
--go-grpc_out="${CACHE_PATH}" \
|
||||
"${CACHE_PATH}/cache.proto"
|
||||
|
||||
Reference in New Issue
Block a user