Skip to content

Commit

Permalink
fix(provisioner): typo in rabbit provisioner causing bugs when genera…
Browse files Browse the repository at this point in the history
…ting multiple times

Signed-off-by: Ben Meier <[email protected]>
  • Loading branch information
astromechza committed May 7, 2024
1 parent da81771 commit 83bb896
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/command/default.provisioners.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@
publishPort: {{ dig "annotations" "compose.score.dev/publish-port" "0" .Metadata | atoi }}
publishManagementPort: {{ dig "annotations" "compose.score.dev/publish-management-port" "0" .Metadata | atoi }}
state: |
vhost: {{ dig "database" .Init.randomVHost .State | quote }}
vhost: {{ dig "vhost" .Init.randomVHost .State | quote }}
username: {{ dig "username" .Init.randomUsername .State | quote }}
password: {{ dig "password" .Init.randomPassword .State | quote }}
outputs: |
Expand Down Expand Up @@ -378,6 +378,7 @@
{{ if ne .Init.publishManagementPort 0 }}
- "{{.Uid}}: Browse the rabbitmq UI at \"http://localhost:{{ .Init.publishManagementPort }}\""
{{ end }}
# The default dns provisioner just outputs localhost as the hostname every time.
# This is because without actual control of a dns resolver we can't do any accurate routing on any other name. This
# can be replaced by a new provisioner in the future.
Expand Down

0 comments on commit 83bb896

Please sign in to comment.