From 0ff79493879bc9ca92af8d032c679514a5535260 Mon Sep 17 00:00:00 2001 From: John Beisley Date: Mon, 13 Jun 2022 07:31:03 +0100 Subject: [PATCH] Remove trailing newline from generated code. --- v2alpha/srv/srv.gotemplate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2alpha/srv/srv.gotemplate b/v2alpha/srv/srv.gotemplate index 8c35cab..6c1fd37 100644 --- a/v2alpha/srv/srv.gotemplate +++ b/v2alpha/srv/srv.gotemplate @@ -13,7 +13,7 @@ const ServiceType = {{quote .Manifest.ServiceType}} {{range .SCPD.SortedActions}} {{- template "action" args "Action" . "Imps" $Imps}} {{end}} -{{end}} +{{- end}} {{define "action"}} {{- $Imps := .Imps}}