We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39ffddb commit bde702fCopy full SHA for bde702f
scripts/dmt/create_author.sh
@@ -19,5 +19,5 @@ AUTHOR_PARAMS=$(cat <<END
19
END
20
)
21
22
-woorl -s "damsel/proto/domain_config_v2.thrift" "http://dmt:8022/v1/domain/author" AuthorManagement Create "${AUTHOR_PARAMS}" |
+woorl -s "damsel/proto/domain_config_v2.thrift" "http://${DMT:-dmt}:8022/v1/domain/author" AuthorManagement Create "${AUTHOR_PARAMS}" |
23
jq -r 'if .exception == "AuthorAlreadyExists" then .data.id else .id end'
0 commit comments