@@ -256,7 +256,6 @@ func (h *Helper) Start(opt *StartOptions, out io.Writer) (string, error) {
256
256
// Create configuration if needed
257
257
var nodeHost string
258
258
if ! skipCreateConfig {
259
- glog .V (1 ).Infof ("Creating openshift configuration at %s on Docker host" , opt .HostConfigDir )
260
259
fmt .Fprintf (out , "Creating initial OpenShift configuration\n " )
261
260
createConfigCmd := []string {
262
261
"start" ,
@@ -296,7 +295,7 @@ func (h *Helper) Start(opt *StartOptions, out io.Writer) (string, error) {
296
295
if err != nil {
297
296
return "" , errors .NewError ("could not copy OpenShift configuration" ).WithCause (err )
298
297
}
299
- err = h .updateConfig (configDir , opt .HostConfigDir , opt . RouterIP , opt .MetricsHost , opt .LoggingHost )
298
+ err = h .updateConfig (configDir , opt .RouterIP , opt .MetricsHost , opt .LoggingHost )
300
299
if err != nil {
301
300
cleanupConfig ()
302
301
return "" , errors .NewError ("could not update OpenShift configuration" ).WithCause (err )
@@ -440,7 +439,7 @@ func (h *Helper) copyConfig() (string, error) {
440
439
if err != nil {
441
440
return "" , err
442
441
}
443
- glog .V (1 ).Infof ("Copying host config to local directory %s" , tempDir )
442
+ glog .V (1 ).Infof ("Copying OpenShift config to local directory %s" , tempDir )
444
443
if err = h .hostHelper .DownloadDirFromContainer (serverConfigPath , tempDir ); err != nil {
445
444
if removeErr := os .RemoveAll (tempDir ); removeErr != nil {
446
445
glog .V (2 ).Infof ("Error removing temporary config dir %s: %v" , tempDir , removeErr )
@@ -481,7 +480,7 @@ func GetConfigFromContainer(client *docker.Client) (*configapi.MasterConfig, err
481
480
return config , nil
482
481
}
483
482
484
- func (h * Helper ) updateConfig (configDir , hostDir , routerIP , metricsHost , loggingHost string ) error {
483
+ func (h * Helper ) updateConfig (configDir , routerIP , metricsHost , loggingHost string ) error {
485
484
cfg , configPath , err := h .GetConfigFromLocalDir (configDir )
486
485
if err != nil {
487
486
return err
0 commit comments