Find the rabbitmq.schema in the same way as other schemas
This commit is contained in:
parent
38c138b846
commit
0dde05a6d8
|
@ -22,7 +22,8 @@
|
|||
|
||||
init_schemas(App, Config) ->
|
||||
DepsDir = ?config(erlang_mk_depsdir, Config),
|
||||
RabbitSchema = filename:join([DepsDir, "rabbit", "priv", "schema", "rabbitmq.schema"]),
|
||||
% Note: the schema for the rabbit app is named "rabbitmq.schema"
|
||||
RabbitSchema = find_app_schema(rabbitmq, DepsDir),
|
||||
Schemas = case App of
|
||||
rabbit -> [RabbitSchema];
|
||||
_ -> [RabbitSchema, find_app_schema(App, DepsDir)]
|
||||
|
|
Loading…
Reference in New Issue