Update remaining logic using viper

This commit is contained in:
Dane Everitt
2021-01-14 20:19:28 -08:00
parent 80faea3286
commit 05c04c4350
5 changed files with 46 additions and 43 deletions

View File

@@ -55,7 +55,7 @@ type Environment struct {
// reference the container from here on out. This should be unique per-server (we use the UUID
// by default). The container does not need to exist at this point.
func New(id string, m *Metadata, c *environment.Configuration) (*Environment, error) {
cli, err := environment.DockerClient()
cli, err := environment.Docker()
if err != nil {
return nil, err
}