nic-chen commented on a change in pull request #1064:
URL: https://github.com/apache/apisix-dashboard/pull/1064#discussion_r548433266
##########
File path: api/internal/handler/ssl/ssl.go
##########
@@ -86,7 +86,11 @@ func (h *Handler) Get(c droplet.Context) (interface{},
error) {
}
//format respond
- ssl := ret.(*entity.SSL)
+ ssl := &entity.SSL{}
Review comment:
@tokers we do need an empty entity.SSL object here. what's the recommend
way to create an empty object?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]