From c66af44f309f006159cc00c6330fcc77e33ac9f8 Mon Sep 17 00:00:00 2001 From: Raymond Fallon Date: Tue, 12 May 2020 11:33:27 -0400 Subject: [PATCH] Be consistent when creating runtime parameters. --- runtime_parameters.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/runtime_parameters.go b/runtime_parameters.go index 21f851c..c42962a 100644 --- a/runtime_parameters.go +++ b/runtime_parameters.go @@ -98,10 +98,10 @@ func (c *Client) GetRuntimeParameter(component, vhost, name string) (p *RuntimeP // PutRuntimeParameter creates or updates a runtime parameter. func (c *Client) PutRuntimeParameter(component, vhost, name string, value interface{}) (res *http.Response, err error) { p := RuntimeParameter{ - name, - vhost, - component, - value, + Name: name, + Vhost: vhost, + Component: component, + Value: value, } body, err := json.Marshal(p)