mirror of
https://github.com/containers/podman.git
synced 2025-05-17 15:18:43 +08:00
config: use ErrInvalidName
SA1019: types.RegexError is deprecated: use [ErrInvalidName] instead. Making linter happy. Signed-off-by: flouthoc <flouthoc.git@gmail.com>
This commit is contained in:
@ -18,7 +18,7 @@ var (
|
||||
// constant, but Go won't let us do that.
|
||||
NameRegex = types.NameRegex
|
||||
// RegexError is thrown in presence of an invalid container/pod name.
|
||||
RegexError = types.RegexError
|
||||
RegexError = types.ErrInvalidName
|
||||
)
|
||||
|
||||
const (
|
||||
|
Reference in New Issue
Block a user