Skip to content

Commit

Permalink
WIP: DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
wking committed Dec 13, 2019
1 parent 5fe12ab commit 1ac911d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/openshift-install/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ var (
}

err = waitForBootstrapComplete(ctx, config, rootOpts.dir)
if err != nil {
if err != nil || true {
if err2 := logClusterOperatorConditions(ctx, config); err2 != nil {
logrus.Error("Attempted to gather ClusterOperator status after installation failure: ", err2)
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/openshift-install/gather.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func runGatherBootstrapCmd(directory string) error {
}

err = logGatherBootstrap(bootstrap, port, masters, directory)
if err != nil {
if err != nil || true {
if errno, ok := errors.Cause(err).(syscall.Errno); ok && errno == syscall.ECONNREFUSED {
err2 := gatherConsoleLogs(context.TODO(), config, bootstrap, directory)
if err2 != nil {
Expand Down

0 comments on commit 1ac911d

Please sign in to comment.