Fix wrong parameters for a request.
This commit is contained in:
parent
5a322b4193
commit
f8ac920fd9
1 changed files with 2 additions and 4 deletions
|
|
@ -41,14 +41,12 @@ class DNSManager::Request
|
|||
|
||||
IPC::JSON.message ResetDelegation, 27 do
|
||||
property domain : String
|
||||
property nameserver1 : String
|
||||
property nameserver2 : String
|
||||
def initialize(@domain, @nameserver1, @nameserver2)
|
||||
def initialize(@domain)
|
||||
end
|
||||
|
||||
def to_s(io : IO)
|
||||
super io
|
||||
io << " (domain: #{@domain}, ns1: #{@nameserver1}, ns2: #{@nameserver2}"
|
||||
io << " (domain: #{@domain}"
|
||||
end
|
||||
|
||||
def handle(dnsmanagerd : DNSManager::Service, event : IPC::Event) : IPC::JSON
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue