Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
fix: Make GetAllServiceResources compatible with Keptn 0.16.0+ (#480)
Browse files Browse the repository at this point in the history
  • Loading branch information
Raffy23 committed Jun 23, 2022
1 parent 0874051 commit 0d19a1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/utils/v2/resourceUtils.go
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ func (r *ResourceHandler) GetAllStageResources(ctx context.Context, project stri
// GetAllServiceResources returns a list of all resources.
func (r *ResourceHandler) GetAllServiceResources(ctx context.Context, project string, stage string, service string, opts ResourcesGetAllServiceResourcesOptions) ([]*models.Resource, error) {
myURL, err := url.Parse(r.scheme + "://" + r.getBaseURL() + v1ProjectPath + "/" + project + pathToStage + "/" + stage +
pathToService + "/" + service + pathToResource + "/")
pathToService + "/" + service + pathToResource)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 0d19a1b

Please sign in to comment.