mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-06-01 20:52:10 -04:00
config: improve usage and meaning of validate (#1975)
* discuss miniup config.Default() usage + discourage usage for Default() in comment * Update internal/config/config_test.go Co-authored-by: Daniel Weiße <66256922+daniel-weisse@users.noreply.github.com> * add enterprise version check for config.Default * split config comment lines * daniel feedback * featureset.CanUseEmbeddedMeasurmentsAndImage --------- Co-authored-by: Daniel Weiße <66256922+daniel-weisse@users.noreply.github.com>
This commit is contained in:
parent
1edbe962c1
commit
161bb37cba
6 changed files with 43 additions and 17 deletions
|
@ -20,6 +20,9 @@ const (
|
|||
// CanFetchMeasurements returns whether the current build can fetch measurements.
|
||||
const CanFetchMeasurements = canFetchMeasurements
|
||||
|
||||
// CanUseEmbeddedMeasurmentsAndImage returns whether the current build can use embedded measurements and can provide a node image.
|
||||
const CanUseEmbeddedMeasurmentsAndImage = canUseEmbeddedMeasurmentsAndImage
|
||||
|
||||
// CanUpgradeCheck returns whether the current build can check for upgrades.
|
||||
// This also includes fetching new measurements.
|
||||
const CanUpgradeCheck = canUpgradeCheck
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue