From 1250f598e9ad8eed62ff9fe02926761dfaa19d56 Mon Sep 17 00:00:00 2001 From: Ben Wells Date: Sun, 20 Sep 2020 19:49:40 +0100 Subject: [PATCH] Fix ZoneID json tag --- cmd/gokeyless/initialize.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/gokeyless/initialize.go b/cmd/gokeyless/initialize.go index b56f0741..d80b7fb5 100644 --- a/cmd/gokeyless/initialize.go +++ b/cmd/gokeyless/initialize.go @@ -21,7 +21,7 @@ type v4apiError struct { type initAPIRequest struct { Rqtype string `json:"request_type,omitempty"` Hostnames []string `json:"hostnames,omitempty"` - ZoneID string `json:"zone_id,omitemtpy"` + ZoneID string `json:"zone_id,omitempty"` CSR string `json:"csr,omitempty"` //Days int `json:"requested_validity,omitempty"` }