Skip to content

Commit 2e0f963

Browse files
author
Peter Steinberger
committed
fix(config): drop unused key spec lookup
1 parent 5fafd36 commit 2e0f963

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

internal/cmd/config_cmd.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,6 @@ func (c *ConfigListCmd) Run(ctx context.Context) error {
144144

145145
fmt.Fprintf(os.Stdout, "Config file: %s\n", path)
146146
for _, key := range keys {
147-
spec, err := config.KeySpecFor(key)
148-
if err != nil {
149-
return err
150-
}
151147
value := config.GetValue(cfg, key)
152148
fmt.Fprintf(os.Stdout, "%s: %s\n", key, formatConfigValue(value, func() string { return "(not set)" }))
153149
}

0 commit comments

Comments
 (0)