mirror of
https://github.com/rancher/norman.git
synced 2025-09-01 23:36:58 +00:00
more collection action code
This commit is contained in:
@@ -64,6 +64,10 @@ func (j *JSONResponseWriter) writeMapSlice(builder *builder.Builder, apiContext
|
||||
}
|
||||
}
|
||||
|
||||
if apiContext.Schema.CollectionFormatter != nil {
|
||||
apiContext.Schema.CollectionFormatter(apiContext, collection)
|
||||
}
|
||||
|
||||
return collection
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user