mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-07 08:45:19 -04:00
Change path for version API:
- Rename "updates" -> "versions" - Add explicit "stream" in path to make API self-describing
This commit is contained in:
parent
7ee2539645
commit
85d723ccbd
4 changed files with 10 additions and 10 deletions
|
@ -314,7 +314,7 @@ func granularityFromVersion(version string) (string, error) {
|
|||
}
|
||||
|
||||
func versionJSONPath(granularity, base string) string {
|
||||
return path.Join(constants.CDNUpdatesPath, stream, granularity, base, imageKind+".json")
|
||||
return path.Join(constants.CDNVersionsPath, "stream", stream, granularity, base, imageKind+".json")
|
||||
}
|
||||
|
||||
func versionURL(granularity, base string) string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue