mirror of https://github.com/portainer/portainer
refactor(api): remove unused error constant
parent
c074a714cf
commit
6b41b5ec5d
|
@ -19,7 +19,6 @@ type Service struct{}
|
||||||
const (
|
const (
|
||||||
errInvalidEndpointProtocol = portainer.Error("Invalid endpoint protocol: Portainer only supports unix://, npipe:// or tcp://")
|
errInvalidEndpointProtocol = portainer.Error("Invalid endpoint protocol: Portainer only supports unix://, npipe:// or tcp://")
|
||||||
errSocketOrNamedPipeNotFound = portainer.Error("Unable to locate Unix socket or named pipe")
|
errSocketOrNamedPipeNotFound = portainer.Error("Unable to locate Unix socket or named pipe")
|
||||||
errEndpointsFileNotFound = portainer.Error("Unable to locate external endpoints file")
|
|
||||||
errInvalidSnapshotInterval = portainer.Error("Invalid snapshot interval")
|
errInvalidSnapshotInterval = portainer.Error("Invalid snapshot interval")
|
||||||
errNoAuthExcludeAdminPassword = portainer.Error("Cannot use --no-auth with --admin-password or --admin-password-file")
|
errNoAuthExcludeAdminPassword = portainer.Error("Cannot use --no-auth with --admin-password or --admin-password-file")
|
||||||
errAdminPassExcludeAdminPassFile = portainer.Error("Cannot use --admin-password with --admin-password-file")
|
errAdminPassExcludeAdminPassFile = portainer.Error("Cannot use --admin-password with --admin-password-file")
|
||||||
|
|
Loading…
Reference in New Issue