\core\pkg\ingress\errors:delete unuseful variable

This commit is contained in:
caiyixiang 2017-05-15 10:22:58 +08:00
parent 473575d71c
commit 2b4fdb0b8b

View file

@ -30,10 +30,6 @@ var (
// ErrInvalidAnnotationName the ingress rule does contains an invalid
// annotation name
ErrInvalidAnnotationName = errors.New("invalid annotation name")
// ErrInvalidAnnotationContent the ingress rule annotation content is
// invalid
ErrInvalidAnnotationContent = errors.New("invalid annotation content")
)
// NewInvalidAnnotationContent returns a new InvalidContent error