Skip to content

Commit

Permalink
don't use sources-server as a package
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-codefresh committed Dec 15, 2024
1 parent 0c01daa commit 612d43c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2,790 deletions.
4 changes: 2 additions & 2 deletions event_reporter/utils/app_version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package utils

import (
"encoding/json"
sourcesServerCommon "github.com/codefresh-io/octopus-argo/sources-server/common"
"github.com/argoproj/argo-cd/v2/pkg/sources_server_client"
log "github.com/sirupsen/logrus"

"github.com/argoproj/argo-cd/v2/pkg/apiclient/events"
Expand All @@ -19,7 +19,7 @@ func RepoAppVersionsToEvent(applicationVersions *apiclient.ApplicationVersions)
return applicationVersionsEvents, nil
}

func SourcesAppVersionsToRepo(applicationVersions *sourcesServerCommon.AppVersionResult, logCtx *log.Entry) *apiclient.ApplicationVersions {
func SourcesAppVersionsToRepo(applicationVersions *sources_server_client.AppVersionResult, logCtx *log.Entry) *apiclient.ApplicationVersions {
if applicationVersions == nil {
return nil
}
Expand Down
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ require (
github.com/aws/aws-sdk-go-v2/service/sso v1.18.7 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.7 // indirect
github.com/aws/aws-sdk-go-v2/service/sts v1.26.7 // indirect
github.com/codefresh-io/octopus-argo v0.0.0-00010101000000-000000000000 // indirect
github.com/davidmz/go-pageant v1.0.2 // indirect
github.com/distribution/reference v0.5.0 // indirect
github.com/go-fed/httpsig v1.1.0 // indirect
Expand Down
Loading

0 comments on commit 612d43c

Please sign in to comment.