All checks were successful
continuous-integration/drone/push Build is passing
This will allow us to test commands that would normally exit
16 lines
288 B
Go
16 lines
288 B
Go
package client
|
|
|
|
import (
|
|
"github.com/docker/cli/cli/connhelper"
|
|
"github.com/sirupsen/logrus"
|
|
)
|
|
|
|
func newConnectionHelper(daemonURL string) *connhelper.ConnectionHelper {
|
|
helper, err := connhelper.GetConnectionHelper(daemonURL)
|
|
|
|
if err != nil {
|
|
logrus.Fatal(err)
|
|
}
|
|
return helper
|
|
}
|