ensure correct garden URL is used in client
@@ -108,7 +108,7 @@ func (cmd *WorkerCommand) Runner(args []string) (ifrit.Runner, error) {
gardenClient := gclient.BasicGardenClientWithRequestTimeout(
logger.Session("garden-connection"),
5*time.Minute,
- cmd.gardenAddr(),
+ cmd.gardenURL(),
)
baggageclaimClient := bclient.NewWithHTTPClient(
