Skip to content

Commit 47f76ad

Browse files
authored
fix can't add helm service to production env in openapi (#4534)
Signed-off-by: Patrick Zhao <zhaoyu@koderover.com>
1 parent 43990e2 commit 47f76ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • pkg/microservice/aslan/core/environment/handler

pkg/microservice/aslan/core/environment/handler/openapi.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2174,7 +2174,7 @@ func OpenAPIAddHelmServicesToEnv(c *gin.Context) {
21742174
return
21752175
}
21762176

2177-
production := c.Query("production") == "true"
2177+
production := request.Production
21782178
if production {
21792179
err = commonutil.CheckZadigProfessionalLicense()
21802180
if err != nil {

0 commit comments

Comments
 (0)