diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2012-08-12 15:28:48 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2012-08-12 15:28:48 +0100 |
commit | 49e7b78c71e45953698640277b6b86dbe2517d5a (patch) | |
tree | 2723120f94e770d92cae5cbb7249a9473309bcfe | |
parent | 35eb6674519def7bda973495682d85837e866d7f (diff) | |
download | rabbitmq-server-49e7b78c71e45953698640277b6b86dbe2517d5a.tar.gz |
fix a long-outstanding unresolved type reference
this was actually completely wrong; the return value is that of
*gen_server2*:start_link
-rw-r--r-- | src/mirrored_supervisor.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mirrored_supervisor.erl b/src/mirrored_supervisor.erl index 4fc488b8..24c3ebd0 100644 --- a/src/mirrored_supervisor.erl +++ b/src/mirrored_supervisor.erl @@ -174,7 +174,7 @@ -spec start_internal(Group, ChildSpecs) -> Result when Group :: group_name(), ChildSpecs :: [supervisor2:child_spec()], - Result :: supervisor2:startlink_ret(). + Result :: {'ok', pid()} | {'error', term()}. -spec create_tables() -> Result when Result :: 'ok'. |