Skip to content

Commit f55cc80

Browse files
authored
fix(codegen): Fix location xpath components for panos_xpath without variables (#502)
1 parent bc8fec1 commit f55cc80

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

templates/sdk/location.tmpl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,7 @@ func (o Location) XpathWithComponents(vn version.Number, components ...string) (
102102
return nil, err
103103
}
104104

105-
{{- if ge .ResourceXpathVariablesCount 1 }}
106105
{{ .ResourceXpathAssignments }}
107-
{{- end }}
108106

109107
return ans, nil
110108
}

0 commit comments

Comments
 (0)