Skip to content

Commit

Permalink
CR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
eyalb4doc committed Dec 25, 2024
1 parent c33136f commit 86de478
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions artifactory/utils/commandsummary/buildinfosummary.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"path"
"strings"

"github.com/jfrog/build-info-go/entities"
buildInfo "github.com/jfrog/build-info-go/entities"
"github.com/jfrog/jfrog-cli-core/v2/artifactory/utils"
"github.com/jfrog/jfrog-cli-core/v2/artifactory/utils/container"
Expand Down Expand Up @@ -262,7 +261,7 @@ func generateArtifactUrl(artifact buildInfo.Artifact, module buildInfo.Module) (
return "", nil
}
trackingSection := "packages"
if module.Type == entities.Generic {
if module.Type == buildInfo.Generic {
trackingSection = "artifacts"
}
return GenerateArtifactUrl(path.Join(artifact.OriginalDeploymentRepo, artifact.Path), trackingSection)
Expand Down

0 comments on commit 86de478

Please sign in to comment.