From c05b7a0094a26cc218787bef39f644c62f7b25ff Mon Sep 17 00:00:00 2001 From: caiyixiang Date: Mon, 15 May 2017 10:22:58 +0800 Subject: [PATCH] \core\pkg\ingress\errors:delete unuseful variable --- core/pkg/ingress/errors/errors.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/pkg/ingress/errors/errors.go b/core/pkg/ingress/errors/errors.go index 6a4d0d5ce..635df3944 100644 --- a/core/pkg/ingress/errors/errors.go +++ b/core/pkg/ingress/errors/errors.go @@ -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