Sync up Solaris code with mainline changes
package main
import (
+ "code.cloudfoundry.org/lager"
"github.com/concourse/atc"
"github.com/jessevdk/go-flags"
- "github.com/pivotal-golang/lager"
"github.com/tedsuo/ifrit"
)
type GardenBackend struct{}
-func (cmd WorkerCommand) lessenRequirements(command *flags.Command) {}
-
-func (cmd *WorkerCommand) gardenRunner(logger lager.Logger, args []string) (atc.Worker, ifrit.Runner, error) {
- err := cmd.checkRoot()
- if err != nil {
- return atc.Worker{}, nil, err
+func (cmd WorkerCommand) lessenRequirements(command *flags.Command) {
+ command.FindOptionByLongName("baggageclaim-volumes").Required = false
}
+func (cmd *WorkerCommand) gardenRunner(logger lager.Logger, args []string) (atc.Worker, ifrit.Runner, error) {
return cmd.houdiniRunner(logger, "solaris")
}
