From 5ff1b1c840201a1ccfef46801adda17b17687fc5 Mon Sep 17 00:00:00 2001 From: John Beisley Date: Sun, 6 Oct 2013 22:45:11 +0100 Subject: [PATCH] Fix syntax error in generated code. --- cmd/specgen/pkgtmpl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/specgen/pkgtmpl.go b/cmd/specgen/pkgtmpl.go index e5d56db..60da1c8 100644 --- a/cmd/specgen/pkgtmpl.go +++ b/cmd/specgen/pkgtmpl.go @@ -51,7 +51,7 @@ func (client *{{$srvIdent}}) {{.Name}}({{range .Arguments}}{{if .IsInput}} {{end}}{{end}} } var response {{$respType}} - err = client.SOAPClient.PerformAction({{$srv.URNParts.Const}}, {{.Name}}, &request, &response) + err = client.SOAPClient.PerformAction({{$srv.URNParts.Const}}, "{{.Name}}", &request, &response) if err != nil { return }