mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
vendor: update everything
* If possible, update each dependency to the latest available version. * Use releases over commit IDs and avoid vendoring branches. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
2
vendor/github.com/fsouza/go-dockerclient/env.go
generated
vendored
2
vendor/github.com/fsouza/go-dockerclient/env.go
generated
vendored
@ -156,7 +156,7 @@ func (env *Env) SetAuto(key string, value interface{}) {
|
||||
|
||||
// Map returns the map representation of the env.
|
||||
func (env *Env) Map() map[string]string {
|
||||
if len(*env) == 0 {
|
||||
if env == nil || len(*env) == 0 {
|
||||
return nil
|
||||
}
|
||||
m := make(map[string]string)
|
||||
|
Reference in New Issue
Block a user