fix Type transform panic
This commit is contained in:
parent
69c89ccfdd
commit
af6a7f6d17
3 changed files with 30 additions and 4 deletions
|
|
@ -38,4 +38,4 @@ func NewParser() parser.IngressAnnotation {
|
|||
// used to add an alias to the provided hosts
|
||||
func (a alias) Parse(ing *extensions.Ingress) (interface{}, error) {
|
||||
return parser.GetStringAnnotation(annotation, ing)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -38,4 +38,4 @@ func NewParser() parser.IngressAnnotation {
|
|||
// used to add an client-body-buffer-size to the provided locations
|
||||
func (a clientBodyBufferSize) Parse(ing *extensions.Ingress) (interface{}, error) {
|
||||
return parser.GetStringAnnotation(annotation, ing)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue