Skip to content

Latest commit

 

History

History
35 lines (30 loc) · 963 Bytes

File metadata and controls

35 lines (30 loc) · 963 Bytes
date 2020-07-13
title Beautification of the validate command
description A little polish on a useful feature.
authors
hoverbear
hide_on_release_notes false
pr_numbers
2622
release 0.10.0
badges
type domains
enhancement
ux

We gave vector validate some touching up to make it look better, and feel nicer to use. This was heavily inspired by the fantastic linkerd validate command.

Take a gander at the new output on a good valid configuration:

vic@sticky-keyboard-macbook:/git/vectordotdev/vector$ vector validate test.toml
√ Loaded "test.toml"
√ Configuration topology
√ Component configuration
√ Health check `sink0`
-------------------------
                Validated

Now an invalid configuration:

vic@sticky-keyboard-macbook:/git/vectordotdev/vector$ vector validate test.toml
Failed to parse "test.toml"
---------------------------
x missing field `type` for key `sinks.sink1`