Skip to content

Commit 40fb7b6

Browse files
committed
fix: Corrects documentation for new method signature
1 parent 9457fe6 commit 40fb7b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/leopard/nats_api_server.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ def spawn_instances(url, opts, count, workers, blocking)
108108

109109
# Builds a worker instance and sets it up with the NATS server.
110110
#
111-
# @param url [String] The URL of the NATS server.
112-
# @param opts [Hash] Options for the NATS service.
111+
# @param nats_url [String] The URL of the NATS server.
112+
# @param service_opts [Hash] Options for the NATS service.
113113
# @param workers [Array] The array to store worker instances.
114114
# @param blocking [Boolean] If true, blocks the current thread until the worker is set up.
115115
#

0 commit comments

Comments
 (0)