Skip to content

Commit

Permalink
Merge pull request #27 from openapp-dev/dev
Browse files Browse the repository at this point in the history
fix: fix public service creation
  • Loading branch information
richardli1598 committed Apr 21, 2024
2 parents 6ded571 + 93c420d commit 0fe65f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/apiserver/handler/publicserviceinstance_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ func CreateOrUpdatePublicServiceInstanceHandler(ctx *gin.Context) {
return
}

ins.Name = ctx.Param("instanceName")
ins.Namespace = utils.InstanceNamespace
_, err = openappHelper.OpenAPPClient.ServiceV1alpha1().PublicServiceInstances(utils.InstanceNamespace).
Create(context.Background(), &ins, metav1.CreateOptions{})
if err != nil {
Expand Down

0 comments on commit 0fe65f2

Please sign in to comment.