Skip to content

Commit 9be6dc0

Browse files
rabbit:await_startup/2: correct type spec
1 parent a20dc83 commit 9be6dc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rabbit.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@
256256
-spec stop_and_halt() -> no_return().
257257

258258
-spec await_startup() -> 'ok' | {'error', 'timeout'}.
259-
-spec await_startup(node()) -> 'ok' | {'error', 'timeout'}.
259+
-spec await_startup(node() | non_neg_integer()) -> 'ok' | {'error', 'timeout'}.
260260
-spec await_startup(node(), non_neg_integer()) -> 'ok' | {'error', 'timeout'}.
261261

262262
-spec status

0 commit comments

Comments
 (0)