Skip to content

Commit

Permalink
Merge pull request #317 from replicatedhq/Fix-create-customer
Browse files Browse the repository at this point in the history
Update environment_create.go
  • Loading branch information
jdewinne authored Nov 7, 2023
2 parents 646fad0 + be12ae5 commit 442eeef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/pkg/fieldlabs/environment_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ func (e *EnvironmentManager) getOrCreateCustomer(track Track) (*types.Customer,
}
}

var createOpts = kotsclient.CreateCustomerOpts{ Name: track.Spec.Customer, AppID: track.Status.App.ID, Email: track.Spec.Customer + "@replicated-labs.com", ChannelID: track.Status.Channel.ID, ExpiresAt: OneWeek }
var createOpts = kotsclient.CreateCustomerOpts{ Name: track.Spec.Customer, AppID: track.Status.App.ID, Email: track.Spec.Customer + "@replicatedlabs.com", ChannelID: track.Status.Channel.ID, ExpiresAt: OneWeek }
customer, err := e.Client.CreateCustomer(createOpts)
if err != nil {
return nil, errors.Wrapf(err, "create customer for track %q app %q", track.Spec.Slug, track.Status.App.Slug)
Expand Down

0 comments on commit 442eeef

Please sign in to comment.