optimized (#392)
This commit is contained in:
@@ -170,6 +170,7 @@ func (r Route) GetAnnotation(key string) string {
|
||||
if r.Annotation.Properties == nil {
|
||||
return ""
|
||||
}
|
||||
|
||||
return r.Annotation.Properties[key]
|
||||
}
|
||||
|
||||
@@ -177,6 +178,7 @@ func (g Group) GetAnnotation(key string) string {
|
||||
if g.Annotation.Properties == nil {
|
||||
return ""
|
||||
}
|
||||
|
||||
return g.Annotation.Properties[key]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user