@@ -132,7 +132,7 @@ func (gh *genericHTTPStreamInput) getInterestingMaps(actionPrimitive primitive.I
132132 return newMapsAggregatorDTO (paramMap , inputMap ), nil
133133}
134134
135- //nolint:funlen,gocognit // TODO: fix this
135+ //nolint:funlen,gocognit,gocyclo,cyclop // TODO: fix this
136136func (gh * genericHTTPStreamInput ) Build () error {
137137 tbl := gh .tbl
138138 handlerCtx := gh .handlerCtx
@@ -213,6 +213,7 @@ func (gh *genericHTTPStreamInput) Build() error {
213213 }
214214 paramMap := interestingMaps .getParameterMap ()
215215 params := paramMap [0 ]
216+ //nolint:exhaustive // no big deal
216217 switch protocolType {
217218 case client .LocalTemplated :
218219 inlines := m .GetInline ()
@@ -224,11 +225,11 @@ func (gh *genericHTTPStreamInput) Build() error {
224225 inlines [1 :],
225226 nil ,
226227 )
227- resp , err := executor .Execute (
228+ resp , exErr := executor .Execute (
228229 map [string ]any {"parameters" : params },
229230 )
230- if err != nil {
231- return internaldto .NewErroneousExecutorOutput (err )
231+ if exErr != nil {
232+ return internaldto .NewErroneousExecutorOutput (exErr )
232233 }
233234 var backendMessages []string
234235 stdOut , stdOutExists := resp .GetStdOut ()
@@ -387,5 +388,4 @@ func (gh *genericHTTPStreamInput) Build() error {
387388 gh .root = gh .dependencyNode
388389
389390 return nil
390-
391391}
0 commit comments