use constants for default CDN paths

This commit is contained in:
Malte Poll 2022-11-30 11:48:39 +01:00 committed by Malte Poll
parent 3aa51df74d
commit 9537fb73c0
4 changed files with 6 additions and 4 deletions

View file

@ -154,6 +154,8 @@ const (
CDNImagePath = "constellation/v1/images"
// CDNMeasurementsPath is the default path to image measurements in the CDN repository.
CDNMeasurementsPath = "constellation/v1/measurements"
// CDNUpdatesPath is the default path to updates in the CDN repository.
CDNUpdatesPath = "constellation/v1/updates"
)
// VersionInfo is the version of a binary. Left as a separate variable to allow override during build.