cli: define feature set of cli editions and exit early if a feature is not supported

This commit is contained in:
Malte Poll 2023-05-26 17:50:55 +02:00 committed by Malte Poll
parent 8a851c8f39
commit c62e54831b
9 changed files with 97 additions and 8 deletions

View file

@ -264,8 +264,9 @@ func TestUpgradeCheck(t *testing.T) {
require.NoError(fileHandler.WriteYAML(tc.flags.configPath, cfg))
checkCmd := upgradeCheckCmd{
collect: &tc.collector,
log: logger.NewTest(t),
canUpgradeCheck: true,
collect: &tc.collector,
log: logger.NewTest(t),
}
cmd := newUpgradeCheckCmd()