mirror of https://github.com/docker/cli.git
b58731fa46
While fixing, also updated errors without placeholders to `errors.New()`, and
updated some code to use pkg/errors if it was already in use in the file.
cli/command/config/inspect.go:59:10: ST1005: error strings should not be capitalized (stylecheck)
return fmt.Errorf("Cannot supply extra formatting options to the pretty template")
^
cli/command/node/inspect.go:61:10: ST1005: error strings should not be capitalized (stylecheck)
return fmt.Errorf("Cannot supply extra formatting options to the pretty template")
^
cli/command/secret/inspect.go:57:10: ST1005: error strings should not be capitalized (stylecheck)
return fmt.Errorf("Cannot supply extra formatting options to the pretty template")
^
cli/command/trust/common.go:77:74: ST1005: error strings should not be capitalized (stylecheck)
return []trustTagRow{}, []client.RoleWithSignatures{}, []data.Role{}, fmt.Errorf("No signatures or cannot access %s", remote)
^
cli/command/trust/common.go:85:73: ST1005: error strings should not be capitalized (stylecheck)
return []trustTagRow{}, []client.RoleWithSignatures{}, []data.Role{}, fmt.Errorf("No signers for %s", remote)
^
cli/command/trust/sign.go:137:10: ST1005: error strings should not be capitalized (stylecheck)
return fmt.Errorf("No tag specified for %s", imgRefAndAuth.Name())
^
cli/command/trust/sign.go:151:19: ST1005: error strings should not be capitalized (stylecheck)
return *target, fmt.Errorf("No tag specified")
^
cli/command/trust/signer_add.go:77:10: ST1005: error strings should not be capitalized (stylecheck)
return fmt.Errorf("Failed to add signer to: %s", strings.Join(errRepos, ", "))
^
cli/command/trust/signer_remove.go:52:10: ST1005: error strings should not be capitalized (stylecheck)
return fmt.Errorf("Error removing signer from: %s", strings.Join(errRepos, ", "))
^
cli/command/trust/signer_remove.go:67:17: ST1005: error strings should not be capitalized (stylecheck)
return false, fmt.Errorf("All signed tags are currently revoked, use docker trust sign to fix")
^
cli/command/trust/signer_remove.go:108:17: ST1005: error strings should not be capitalized (stylecheck)
return false, fmt.Errorf("No signer %s for repository %s", signerName, repoName)
^
opts/hosts.go:89:14: ST1005: error strings should not be capitalized (stylecheck)
return "", fmt.Errorf("Invalid bind address format: %s", addr)
^
opts/hosts.go💯14: ST1005: error strings should not be capitalized (stylecheck)
return "", fmt.Errorf("Invalid proto, expected %s: %s", proto, addr)
^
opts/hosts.go:119:14: ST1005: error strings should not be capitalized (stylecheck)
return "", fmt.Errorf("Invalid proto, expected tcp: %s", tryAddr)
^
opts/hosts.go:144:14: ST1005: error strings should not be capitalized (stylecheck)
return "", fmt.Errorf("Invalid bind address format: %s", tryAddr)
^
opts/hosts.go:155:14: ST1005: error strings should not be capitalized (stylecheck)
return "", fmt.Errorf("Invalid bind address format: %s", tryAddr)
^
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
|
||
---|---|---|
.. | ||
attach.md | ||
build.md | ||
checkpoint.md | ||
cli.md | ||
commit.md | ||
config.md | ||
config_create.md | ||
config_inspect.md | ||
config_ls.md | ||
config_rm.md | ||
container.md | ||
container_prune.md | ||
context.md | ||
context_create.md | ||
context_export.md | ||
context_import.md | ||
context_inspect.md | ||
context_ls.md | ||
context_rm.md | ||
context_show.md | ||
context_update.md | ||
context_use.md | ||
cp.md | ||
create.md | ||
diff.md | ||
dockerd.md | ||
events.md | ||
exec.md | ||
export.md | ||
history.md | ||
image.md | ||
image_prune.md | ||
images.md | ||
import.md | ||
index.md | ||
info.md | ||
inspect.md | ||
kill.md | ||
load.md | ||
login.md | ||
logout.md | ||
logs.md | ||
manifest.md | ||
network.md | ||
network_connect.md | ||
network_create.md | ||
network_disconnect.md | ||
network_inspect.md | ||
network_ls.md | ||
network_prune.md | ||
network_rm.md | ||
node.md | ||
node_demote.md | ||
node_inspect.md | ||
node_ls.md | ||
node_promote.md | ||
node_ps.md | ||
node_rm.md | ||
node_update.md | ||
pause.md | ||
plugin.md | ||
plugin_create.md | ||
plugin_disable.md | ||
plugin_enable.md | ||
plugin_inspect.md | ||
plugin_install.md | ||
plugin_ls.md | ||
plugin_push.md | ||
plugin_rm.md | ||
plugin_set.md | ||
plugin_upgrade.md | ||
port.md | ||
ps.md | ||
pull.md | ||
push.md | ||
rename.md | ||
restart.md | ||
rm.md | ||
rmi.md | ||
run.md | ||
save.md | ||
search.md | ||
secret.md | ||
secret_create.md | ||
secret_inspect.md | ||
secret_ls.md | ||
secret_rm.md | ||
service.md | ||
service_create.md | ||
service_inspect.md | ||
service_logs.md | ||
service_ls.md | ||
service_ps.md | ||
service_rm.md | ||
service_rollback.md | ||
service_scale.md | ||
service_update.md | ||
stack.md | ||
stack_config.md | ||
stack_deploy.md | ||
stack_ls.md | ||
stack_ps.md | ||
stack_rm.md | ||
stack_services.md | ||
start.md | ||
stats.md | ||
stop.md | ||
swarm.md | ||
swarm_ca.md | ||
swarm_init.md | ||
swarm_join-token.md | ||
swarm_join.md | ||
swarm_leave.md | ||
swarm_unlock-key.md | ||
swarm_unlock.md | ||
swarm_update.md | ||
system.md | ||
system_df.md | ||
system_events.md | ||
system_prune.md | ||
tag.md | ||
top.md | ||
trust_inspect.md | ||
trust_key_generate.md | ||
trust_key_load.md | ||
trust_revoke.md | ||
trust_sign.md | ||
trust_signer_add.md | ||
trust_signer_remove.md | ||
unpause.md | ||
update.md | ||
version.md | ||
volume.md | ||
volume_create.md | ||
volume_inspect.md | ||
volume_ls.md | ||
volume_prune.md | ||
volume_rm.md | ||
wait.md |