X Tutup
Skip to content

Commit d85feaf

Browse files
committed
Rename to hasNonProdVSCSTarget
1 parent be59237 commit d85feaf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/cmd/codespace/list.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ func (a *App) List(ctx context.Context, limit int, exporter cmdutil.Exporter) er
4343
return fmt.Errorf("error getting codespaces: %w", err)
4444
}
4545

46-
hasNonDefaultVSCSTarget := false
46+
hasNonProdVSCSTarget := false
4747
for _, apiCodespace := range codespaces {
4848
if apiCodespace.VSCSTarget != "prod" {
49-
hasNonDefaultVSCSTarget = true
49+
hasNonProdVSCSTarget = true
5050
}
5151
}
5252

@@ -67,7 +67,7 @@ func (a *App) List(ctx context.Context, limit int, exporter cmdutil.Exporter) er
6767
tp.AddField("STATE", nil, nil)
6868
tp.AddField("CREATED AT", nil, nil)
6969

70-
if hasNonDefaultVSCSTarget {
70+
if hasNonProdVSCSTarget {
7171
tp.AddField("VSCS TARGET", nil, nil)
7272
}
7373

@@ -101,7 +101,7 @@ func (a *App) List(ctx context.Context, limit int, exporter cmdutil.Exporter) er
101101
tp.AddField(c.CreatedAt, nil, nil)
102102
}
103103

104-
if hasNonDefaultVSCSTarget {
104+
if hasNonProdVSCSTarget {
105105
tp.AddField(c.VSCSTarget, nil, nil)
106106
}
107107

0 commit comments

Comments
 (0)
X Tutup