Skip to content

Commit

Permalink
Update doc link to 4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminapetersen committed Jan 6, 2020
1 parent a4d4eb9 commit aaf29e7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions pkg/cmd/version/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ package version

import (
"fmt"
"strings"

"github.com/blang/semver"
"github.com/openshift/console-operator/pkg/console/version"
"github.com/spf13/cobra"
"strings"

cm "github.com/openshift/console-operator/pkg/console/subresource/configmap"
"github.com/openshift/console-operator/pkg/console/subresource/configmap"
"github.com/openshift/console-operator/pkg/console/version"
)

var (
Expand All @@ -16,7 +17,7 @@ var (
GitCommit = VerInfo.GitCommit
BuildDate = VerInfo.BuildDate
Version = semver.MustParse(strings.TrimLeft(Raw, "v"))
BrandValue = cm.DEFAULT_BRAND
BrandValue = configmap.DEFAULT_BRAND
String = fmt.Sprintf("ConsoleOperator %s\nGit Commit: %s\nBuild Date: %s\nCurrent Brand Setting: %s", Raw, GitCommit, BuildDate, BrandValue)
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/console/subresource/configmap/brand_ocp.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ package configmap

const (
DEFAULT_BRAND = "ocp"
DEFAULT_DOC_URL = "https://docs.openshift.com/container-platform/4.3/"
DEFAULT_DOC_URL = "https://docs.openshift.com/container-platform/4.4/"
)
2 changes: 1 addition & 1 deletion pkg/console/subresource/configmap/brand_okd.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ package configmap

const (
DEFAULT_BRAND = "okd"
DEFAULT_DOC_URL = "https://docs.okd.io/4.3/"
DEFAULT_DOC_URL = "https://docs.okd.io/4.4/"
)

0 comments on commit aaf29e7

Please sign in to comment.