Skip to content

Commit

Permalink
Update upstream URL pattern to match releases
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Rockwood <[email protected]>
  • Loading branch information
benr committed Sep 26, 2023
1 parent bc066ab commit 2cf4038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/providers.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func Install(name string) (*Provider, error) {
}

// This is the default installation source for core providers.
const upstreamURL = "https://releases.mondoo.com/providers/{NAME}/{VERSION}/{NAME}_{VERSION}_{OS}_{ARCH}.tar.xz"
const upstreamURL = "https://releases.mondoo.com/providers/{NAME}/{NAME}_{VERSION}/{NAME}_{VERSION}_{OS}_{ARCH}.tar.xz"

func installVersion(name string, version string) (*Provider, error) {
url := upstreamURL
Expand Down

0 comments on commit 2cf4038

Please sign in to comment.