mirror of https://github.com/docker/docs.git
Rename ConfigGetenv to ConfigFromJob
This commit is contained in:
parent
7e691e11b0
commit
c542b2f873
|
@ -19,9 +19,9 @@ type DaemonConfig struct {
|
|||
InterContainerCommunication bool
|
||||
}
|
||||
|
||||
// ConfigGetenv creates and returns a new DaemonConfig object
|
||||
// ConfigFromJob creates and returns a new DaemonConfig object
|
||||
// by parsing the contents of a job's environment.
|
||||
func ConfigGetenv(job *engine.Job) *DaemonConfig {
|
||||
func ConfigFromJob(job *engine.Job) *DaemonConfig {
|
||||
var config DaemonConfig
|
||||
config.Pidfile = job.Getenv("Pidfile")
|
||||
config.Root = job.Getenv("Root")
|
||||
|
|
Loading…
Reference in New Issue