Skip to content

Commit dd82bb0

Browse files
authored
policy should be on one line to create queue (#451)
1 parent a043246 commit dd82bb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ $ echo "$QUEUE_POLICY" | jq .
257257
$ cat << EOF > /tmp/queue-attributes.json
258258
{
259259
"MessageRetentionPeriod": "300",
260-
"Policy": "$(echo $QUEUE_POLICY | sed 's/\"/\\"/g')"
260+
"Policy": "$(echo $QUEUE_POLICY | sed 's/\"/\\"/g' | tr -d -s '\n' " ")"
261261
}
262262
EOF
263263

0 commit comments

Comments
 (0)