Skip to content

Commit bde702f

Browse files
committed
Update DMT host configuration in create_author.sh script
1 parent 39ffddb commit bde702f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/dmt/create_author.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ AUTHOR_PARAMS=$(cat <<END
1919
END
2020
)
2121

22-
woorl -s "damsel/proto/domain_config_v2.thrift" "http://dmt:8022/v1/domain/author" AuthorManagement Create "${AUTHOR_PARAMS}" |
22+
woorl -s "damsel/proto/domain_config_v2.thrift" "http://${DMT:-dmt}:8022/v1/domain/author" AuthorManagement Create "${AUTHOR_PARAMS}" |
2323
jq -r 'if .exception == "AuthorAlreadyExists" then .data.id else .id end'

0 commit comments

Comments
 (0)