Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
wpjunior committed Feb 6, 2025
1 parent d42b4cd commit 65fbd74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/pkg/rpaas/nginx/configuration_render.go
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ http {
{{- end}}
{{- if $server.HasBlockServer }}
{{ $server.BlockBlockContent }}
{{ $server.ServerBlockContent }}
{{- else }}
{{ template "server" $all }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion internal/pkg/rpaas/nginx/servers.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func (s *Server) HasBlockServer() bool {
return ok
}

func (s *Server) BlockBlockContent() string {
func (s *Server) ServerBlockContent() string {
if len(s.Blocks) == 0 {
return ""
}
Expand Down

0 comments on commit 65fbd74

Please sign in to comment.