mirror of
https://github.com/rancher/os.git
synced 2025-09-01 23:04:41 +00:00
Bump libcompose and its dependencies
This commit is contained in:
4
vendor/github.com/docker/libcompose/lookup/simple_env.go
generated
vendored
4
vendor/github.com/docker/libcompose/lookup/simple_env.go
generated
vendored
@@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/docker/libcompose/project"
|
||||
"github.com/docker/libcompose/config"
|
||||
)
|
||||
|
||||
// OsEnvLookup is a "bare" structure that implements the project.EnvironmentLookup interface
|
||||
@@ -15,7 +15,7 @@ type OsEnvLookup struct {
|
||||
// in the form of 'key=value'. It gets environment values using os.Getenv.
|
||||
// If the os environment variable does not exists, the slice is empty. serviceName and config
|
||||
// are not used at all in this implementation.
|
||||
func (o *OsEnvLookup) Lookup(key, serviceName string, config *project.ServiceConfig) []string {
|
||||
func (o *OsEnvLookup) Lookup(key, serviceName string, config *config.ServiceConfig) []string {
|
||||
ret := os.Getenv(key)
|
||||
if ret == "" {
|
||||
return []string{}
|
||||
|
Reference in New Issue
Block a user