Skip to content

Commit 9de1a15

Browse files
committed
Remove day mention in product of trial
1 parent 503039f commit 9de1a15

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cli/login.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ func (r *RootCmd) login() *serpent.Command {
239239

240240
if !inv.ParsedFlags().Changed("first-user-trial") && os.Getenv(firstUserTrialEnv) == "" {
241241
v, _ := cliui.Prompt(inv, cliui.PromptOptions{
242-
Text: "Start a 30-day trial of Enterprise?",
242+
Text: "Start a trial of Enterprise?",
243243
IsConfirm: true,
244244
Default: "yes",
245245
})

enterprise/trialer/trialer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func New(db database.Store, url string, keys map[string]ed25519.PublicKey) func(
3939
return xerrors.Errorf("perform license request: %w", err)
4040
}
4141
defer res.Body.Close()
42-
if res.StatusCode != http.StatusOK {
42+
if res.StatusCode > 300 {
4343
body, err := io.ReadAll(res.Body)
4444
if err != nil {
4545
return xerrors.Errorf("read license response: %w", err)

site/src/pages/SetupPage/SetupPageView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ export const SetupPageView: FC<SetupPageViewProps> = ({
190190

191191
<div css={{ fontSize: 14, paddingTop: 4 }}>
192192
<span css={{ display: "block", fontWeight: 600 }}>
193-
Start a 30-day free trial of Enterprise
193+
Start a free trial of Enterprise
194194
</span>
195195
<span
196196
css={(theme) => ({

0 commit comments

Comments
 (0)