Skip to content

Commit

Permalink
Merge pull request hashicorp#272 from hashicorp/alias-check
Browse files Browse the repository at this point in the history
Fix bug with defining connect healthcheck
  • Loading branch information
lkysow authored Jun 8, 2020
2 parents 140068c + b9404c2 commit 5a98720
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion connect-inject/container_init.go
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ services {
checks {
name = "Destination Alias"
alias_service = "{{ .ServiceName }}"
alias_service = "${SERVICE_ID}"
}
}
Expand Down
26 changes: 13 additions & 13 deletions connect-inject/container_init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ services {
checks {
name = "Destination Alias"
alias_service = "web"
alias_service = "${SERVICE_ID}"
}
}
Expand Down Expand Up @@ -132,7 +132,7 @@ cp /bin/consul /consul/connect-inject/consul`,
checks {
name = "Destination Alias"
alias_service = "web"
alias_service = "${SERVICE_ID}"
}
}
Expand Down Expand Up @@ -304,7 +304,7 @@ services {
checks {
name = "Destination Alias"
alias_service = "web"
alias_service = "${SERVICE_ID}"
}
}
Expand Down Expand Up @@ -350,7 +350,7 @@ services {
checks {
name = "Destination Alias"
alias_service = "web"
alias_service = "${SERVICE_ID}"
}
}
Expand Down Expand Up @@ -396,7 +396,7 @@ services {
checks {
name = "Destination Alias"
alias_service = "web"
alias_service = "${SERVICE_ID}"
}
}
Expand Down Expand Up @@ -443,7 +443,7 @@ services {
checks {
name = "Destination Alias"
alias_service = "web"
alias_service = "${SERVICE_ID}"
}
}
Expand Down Expand Up @@ -502,7 +502,7 @@ services {
checks {
name = "Destination Alias"
alias_service = "web"
alias_service = "${SERVICE_ID}"
}
}
Expand Down Expand Up @@ -635,7 +635,7 @@ services {
checks {
name = "Destination Alias"
alias_service = "web"
alias_service = "${SERVICE_ID}"
}
}
Expand Down Expand Up @@ -703,7 +703,7 @@ services {
checks {
name = "Destination Alias"
alias_service = "web"
alias_service = "${SERVICE_ID}"
}
}
Expand Down Expand Up @@ -772,7 +772,7 @@ services {
checks {
name = "Destination Alias"
alias_service = "web"
alias_service = "${SERVICE_ID}"
}
}
Expand Down Expand Up @@ -850,7 +850,7 @@ services {
checks {
name = "Destination Alias"
alias_service = "web"
alias_service = "${SERVICE_ID}"
}
}
Expand Down Expand Up @@ -928,7 +928,7 @@ services {
checks {
name = "Destination Alias"
alias_service = "web"
alias_service = "${SERVICE_ID}"
}
}
Expand Down Expand Up @@ -1010,7 +1010,7 @@ services {
checks {
name = "Destination Alias"
alias_service = "web"
alias_service = "${SERVICE_ID}"
}
}
Expand Down

0 comments on commit 5a98720

Please sign in to comment.