Skip to content

Commit

Permalink
Add missing , after additional metrics name
Browse files Browse the repository at this point in the history
Signed-off-by: Mohamed Mahmoud <[email protected]>
  • Loading branch information
msherif1234 committed Jan 13, 2025
1 parent 978bc82 commit f886659
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion hack/build-bytecode-images-multi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,21 @@ PROGRAMS='{
"nf_nat_manip_pkt":"kprobe"
}'

echo "$PROGRAMS" | jq empty || { echo "Invalid JSON in PROGRAMS"; exit 1; }

# MAPS is a list of <map name>:<map type> tuples
MAPS='{
"direct_flows":"ringbuf",
"aggregated_flows":"hash",
"additional_flow_metrics":"per_cpu_hash"
"additional_flow_metrics":"per_cpu_hash",
"packets_record":"perf_event_array",
"dns_flows":"hash",
"global_counters":"per_cpu_array",
"filter_map":"lpm_trie"
}'

echo "$MAPS" | jq empty || { echo "Invalid JSON in MAPS"; exit 1; }

if [[ ${OCI_BIN} == "docker" ]]; then
docker buildx create --name bytecode-builder --use
docker buildx inspect --bootstrap
Expand Down

0 comments on commit f886659

Please sign in to comment.