Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
use v2 caching path (#24)
Browse files Browse the repository at this point in the history
Signed-off-by: Ayman <[email protected]>
Co-authored-by: Ayman <[email protected]>
  • Loading branch information
khalifapro and enkhalifapro authored Jan 31, 2023
1 parent e34611a commit 74bfd7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/confluence/confluence.go
Original file line number Diff line number Diff line change
Expand Up @@ -1559,7 +1559,7 @@ func (j *DSConfluence) createStructuredLogger() {

// AddCacheProvider - adds cache provider
func (j *DSConfluence) AddCacheProvider() {
cacheProvider := cache.NewManager(ConfluenceDataSource, os.Getenv("STAGE"))
cacheProvider := cache.NewManager(fmt.Sprintf("v2/%s", ConfluenceDataSource), os.Getenv("STAGE"))
j.cacheProvider = *cacheProvider
j.endpoint = strings.ReplaceAll(strings.TrimPrefix(strings.TrimPrefix(j.URL, "https://"), "http://"), "/", "-")
}
Expand Down

0 comments on commit 74bfd7c

Please sign in to comment.