Skip to content

Commit 63b2b7c

Browse files
Hide base-url field from hosted UI
base-url is a dev/testing concern, not user-facing configuration. Mark it WithHidden(true) so it doesn't appear in the hosted UI. Good feedback from Geoff: ConductorOne/baton-trayai#63 (comment)
1 parent bcac802 commit 63b2b7c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/config/config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ var (
1515
BaseURLField = field.StringField(
1616
"base-url",
1717
field.WithDescription("Override the Fastly API URL (for testing)"),
18+
field.WithHidden(true),
1819
)
1920

2021
// FieldRelationships defines relationships between the fields listed in

0 commit comments

Comments
 (0)