Skip to content

Commit

Permalink
fixed conflict resolve problems
Browse files Browse the repository at this point in the history
Signed-off-by: Min Min <[email protected]>
  • Loading branch information
Min Min committed Nov 16, 2021
1 parent 05709ae commit c25c3c9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/microservice/aslan/core/templatestore/handler/yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ func GetYamlTemplateVariables(c *gin.Context) {
defer func() { internalhandler.JSONResponse(c, ctx) }()

req := &getYamlTemplateVariablesReq{}
if err := c.ShouldBindJSON(req); err != nil {
ctx.Err = err
return
}

ctx.Resp, ctx.Err = templateservice.GetYamlVariables(req.Content, ctx.Logger)
}

0 comments on commit c25c3c9

Please sign in to comment.