Skip to content

Commit 75d081e

Browse files
committed
fix: remove dead code
also constant is gone and had outdated value Signed-off-by: Mårten Svantesson <[email protected]>
1 parent 9a334f1 commit 75d081e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pkg/envctx/env_context.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import (
66

77
jxcore "github.com/jenkins-x/jx-api/v4/pkg/apis/core/v4beta1"
88
v1 "github.com/jenkins-x/jx-api/v4/pkg/apis/jenkins.io/v1"
9-
"github.com/jenkins-x/jx-helpers/v3/pkg/kube"
109
"github.com/jenkins-x/jx-helpers/v3/pkg/versionstream"
1110
)
1211

@@ -78,9 +77,6 @@ func (c *EnvironmentContext) ChartDetails(chartName, repo string) (*ChartDetails
7877
if repo == "" && teamSettings != nil {
7978
repo = teamSettings.AppsRepository
8079
}
81-
if repo == "" {
82-
repo = kube.DefaultChartMuseumURL
83-
}
8480
if prefix == "" {
8581
prefixes, err := c.VersionResolver.GetRepositoryPrefixes()
8682
if err != nil {

0 commit comments

Comments
 (0)