@@ -12,7 +12,7 @@ import (
12
12
"github.com/spf13/cobra"
13
13
"k8s.io/kubernetes/pkg/kubectl/cmd/templates"
14
14
15
- "github.com/openshift/origin/pkg/cmd/server/apis/config"
15
+ configapi "github.com/openshift/origin/pkg/cmd/server/apis/config"
16
16
"github.com/openshift/origin/pkg/oc/bootstrap/docker/dockerhelper"
17
17
"github.com/openshift/origin/pkg/oc/bootstrap/docker/errors"
18
18
"github.com/openshift/origin/pkg/oc/bootstrap/docker/exec"
@@ -145,7 +145,7 @@ func isHealthy(f *clientcmd.Factory) (bool, error) {
145
145
return statusCode == 200 , nil
146
146
}
147
147
148
- func status (container * types.ContainerJSON , config * config .MasterConfig ) string {
148
+ func status (container * types.ContainerJSON , config * configapi .MasterConfig ) string {
149
149
mountMap := make (map [string ]string )
150
150
for _ , mount := range container .Mounts {
151
151
mountMap [mount .Destination ] = mount .Source
@@ -165,7 +165,7 @@ func status(container *types.ContainerJSON, config *config.MasterConfig) string
165
165
status += fmt .Sprintf ("The OpenShift cluster was started %s ago\n \n " , duration )
166
166
}
167
167
168
- status = status + fmt .Sprintf ("Web console URL: %s\n " , config . OAuthConfig . AssetPublicURL )
168
+ status = status + fmt .Sprintf ("Web console URL: %s\n " , configapi . GetAssetPublicURL ( config ) )
169
169
status = status + fmt .Sprintf ("\n " )
170
170
171
171
status = status + fmt .Sprintf ("Config is at host directory %s\n " , mountMap ["/var/lib/origin/openshift.local.config" ])
0 commit comments