Skip to content

Commit

Permalink
Merge pull request #54 from blacksmith-community/hostname-fix
Browse files Browse the repository at this point in the history
fix hostname for redis and rabbitmq
  • Loading branch information
haochenhu233 authored Feb 5, 2025
2 parents d680544 + 84af39c commit 1a65467
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,6 @@ func GetCreds(id string, plan Plan, bosh *gogobosh.Client, l *Log) (interface{},
}
l.Debug("found job {name: %s, deployment: %s, id: %s, plan_id: %s, plan_name: %s, fqdn: %s, ips: [%s], dns: [%s]", job.Name, job.Deployment, job.ID, job.PlanID, job.PlanName, job.FQDN, strings.Join(vm.IPs, ", "), strings.Join(vm.DNS, ", "))
dnsname = job.FQDN
if !strings.Contains(job.PlanName, "single-node") {
dnsname = strings.Replace(dnsname, ".standalone.", ".node.", 1)
}

jobs = append(jobs, &job)

Expand Down
1 change: 0 additions & 1 deletion services.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ func ReadPlans(dir string, service Service) ([]Plan, error) {
return pp, err
}
p.ID = service.ID + "-" + p.ID
p.Type = service.Type
p.Service = &service
pp = append(pp, p)
}
Expand Down

0 comments on commit 1a65467

Please sign in to comment.