Skip to content

Commit

Permalink
Minor connections tpl lint
Browse files Browse the repository at this point in the history
  • Loading branch information
polyaxon-ci committed Apr 9, 2024
1 parent 44b3546 commit dbd5917
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 18 deletions.
17 changes: 8 additions & 9 deletions agent/templates/partials/_connections.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ Config connections volumes/mounts/secrets/configmap
name: {{ $c.configMap.name | quote }}
{{- end }} {{- /* endif */ -}}
{{- end }} {{- /* endif */ -}}

{{- end }}
{{- end }}
{{ end }}
{{- end }} {{- /* endrange connections */ -}}
{{- end }} {{- /* endif mountConnections */ -}}
{{- end -}} {{- /* end def connections envFrom */ -}}

{{- define "config.connections.env" -}}
Expand All @@ -33,8 +32,8 @@ Config connections volumes/mounts/secrets/configmap
{{ toYaml $c.env }}
{{- end }} {{- /* endif */ -}}
{{- end }}
{{- end }}
{{- end }}
{{- end }} {{- /* endrange connections */ -}}
{{- end }} {{- /* endif mountConnections */ -}}
{{- end -}} {{- /* end def connections envFrom */ -}}

{{- define "config.connections.mounts" -}}
Expand Down Expand Up @@ -64,8 +63,8 @@ Config connections volumes/mounts/secrets/configmap
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }} {{- /* endrange connections */ -}}
{{- end }} {{- /* endif mountConnections */ -}}
{{- end -}} {{- /* end def connections volume mounts */ -}}

{{- define "config.connections.volumes" -}}
Expand Down Expand Up @@ -99,6 +98,6 @@ Config connections volumes/mounts/secrets/configmap
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }} {{- /* endrange connections */ -}}
{{- end }} {{- /* endif mountConnections */ -}}
{{- end -}} {{- /* end def connections volume mounts */ -}}
17 changes: 8 additions & 9 deletions polyaxon/templates/partials/_connections.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ Config connections volumes/mounts/secrets/configmap
name: {{ $c.configMap.name | quote }}
{{- end }} {{- /* endif */ -}}
{{- end }} {{- /* endif */ -}}

{{- end }}
{{- end }}
{{ end }}
{{- end }} {{- /* endrange connections */ -}}
{{- end }} {{- /* endif mountConnections */ -}}
{{- end -}} {{- /* end def connections envFrom */ -}}

{{- define "config.connections.env" -}}
Expand All @@ -33,8 +32,8 @@ Config connections volumes/mounts/secrets/configmap
{{ toYaml $c.env }}
{{- end }} {{- /* endif */ -}}
{{- end }}
{{- end }}
{{- end }}
{{- end }} {{- /* endrange connections */ -}}
{{- end }} {{- /* endif mountConnections */ -}}
{{- end -}} {{- /* end def connections envFrom */ -}}

{{- define "config.connections.mounts" -}}
Expand Down Expand Up @@ -64,8 +63,8 @@ Config connections volumes/mounts/secrets/configmap
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }} {{- /* endrange connections */ -}}
{{- end }} {{- /* endif mountConnections */ -}}
{{- end -}} {{- /* end def connections volume mounts */ -}}

{{- define "config.connections.volumes" -}}
Expand Down Expand Up @@ -99,6 +98,6 @@ Config connections volumes/mounts/secrets/configmap
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }} {{- /* endrange connections */ -}}
{{- end }} {{- /* endif mountConnections */ -}}
{{- end -}} {{- /* end def connections volume mounts */ -}}

0 comments on commit dbd5917

Please sign in to comment.