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

@@ -188,7 +188,7 @@ func diagnosticsCmdRun(cmd *cobra.Command, args []string) {
}
func getDockerInfo() (types.Version, types.Info, error) {
cli, err := environment.DockerClient()
cli, err := environment.Docker()
if err != nil {
return types.Version{}, types.Info{}, err
}