Skip to content

Commit 6eafb5c

Browse files
committed
[Add] - comment to make the code more clear
1 parent 1084f9b commit 6eafb5c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

services/logs.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ aws_logs_run_query() {
4141

4242
# Convert the space-separated list of log groups into a JSON array
4343
local log_group_json_array
44+
# from "log-group-1 log-group-2 log-group-3" to ["log-group-1","log-group-2","log-group-3"]
4445
log_group_json_array=$(printf '%s' "$log_group_names" | awk '{printf "[\"%s\"", $1; for (i=2; i<=NF; i++) printf ",\"%s\"", $i; printf "]"}')
4546

4647
# Execute the query

0 commit comments

Comments
 (0)