|
|
@@ -74,7 +74,6 @@ func (c *CreateEnvironmentHandler) ServeHTTP(w http.ResponseWriter, r *http.Requ
|
|
|
Mode: request.Mode,
|
|
|
WebhookID: string(webhookUID),
|
|
|
NewCommentsDisabled: request.DisableNewComments,
|
|
|
- CustomNamespace: request.CustomNamespace,
|
|
|
}
|
|
|
|
|
|
if len(request.NamespaceAnnotations) > 0 {
|
|
|
@@ -191,7 +190,7 @@ func (c *CreateEnvironmentHandler) ServeHTTP(w http.ResponseWriter, r *http.Requ
|
|
|
GitInstallationID: uint(ga.InstallationID),
|
|
|
EnvironmentName: request.Name,
|
|
|
InstanceName: c.Config().ServerConf.InstanceName,
|
|
|
- CustomNamespace: env.CustomNamespace,
|
|
|
+ CustomNamespace: request.CustomNamespace,
|
|
|
})
|
|
|
|
|
|
if err != nil {
|