kubernetes: error about unused endpoint argument

Signed-off-by: Justin Chadwell <me@jedevc.com>
pull/1188/head
Justin Chadwell 3 years ago
parent f360088ae7
commit 7ab3dc080b

@ -166,6 +166,9 @@ func runCreate(dockerCli command.Cli, in createOptions, args []string) error {
} else { } else {
switch { switch {
case driverName == "kubernetes": case driverName == "kubernetes":
if len(args) > 0 {
logrus.Warnf("kubernetes driver does not support endpoint args %q", args[0])
}
// naming endpoint to make --append works // naming endpoint to make --append works
ep = (&url.URL{ ep = (&url.URL{
Scheme: driverName, Scheme: driverName,

Loading…
Cancel
Save