Skip to content

Commit

Permalink
Merge pull request #611 from kubescape/rego-v2
Browse files Browse the repository at this point in the history
upgrade module to v2
  • Loading branch information
YiscahLevySilas1 authored Mar 25, 2024
2 parents ea310c1 + f7dca44 commit 2b482e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gitregostore/datastructures.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ func (gs *GitRegoStore) SetRegoObjects() error {
return err
}

// NewDefaultGitRegoStore - generates git store object for production regolibrary release files.
// Release files source: "https://github.com/kubescape/regolibrary/releases/latest/download"
// NewGitRegoStoreV2 - generates git store object for production v2 regolibrary release files.
// Release files source: "https://github.com/kubescape/regolibrary/releases/tag/v2"
func NewGitRegoStoreV2(frequency int) *GitRegoStore {
gs := NewGitRegoStore("https://github.com", "kubescape", "regolibrary", "releases", "download/v2", "", frequency)
return gs
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/kubescape/regolibrary
module github.com/kubescape/regolibrary/v2

go 1.21

Expand Down

0 comments on commit 2b482e5

Please sign in to comment.