Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Anatolii Bazko <[email protected]>
  • Loading branch information
tolusha committed Jun 18, 2021
1 parent ea05ba6 commit 3379b56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/deploy/dev-workspace/dev_workspace.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func ReconcileDevWorkspace(deployContext *deploy.DeployContext) (bool, error) {
}

if !util.IsOpenShift && util.GetServerExposureStrategy(deployContext.CheCluster) == "single-host" {
logrus.Warn(`DevWorkspace Che operator can't be enabled in 'single-host mode on Kubernetes cluster'. See https://github.com/eclipse/che/issues/19714 for more details. To enable DevWorkspace Che operator set 'spec.server.serverExposureStrategy' to 'multi-host'.`)
logrus.Warn(`DevWorkspace Che operator can't be enabled in 'single-host' mode on a Kubernetes cluster. See https://github.com/eclipse/che/issues/19714 for more details. To enable DevWorkspace Che operator set 'spec.server.serverExposureStrategy' to 'multi-host'.`)
return true, nil
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/deploy/dev-workspace/dev_workspace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ func TestShouldNotSyncObjectIfHashIsEqual(t *testing.T) {
obj: newObject,
hash256: "hash",
}
done, err := syncObject(deployContext, obj2sync, "ecliXpse-che")
done, err := syncObject(deployContext, obj2sync, "eclipse-che")
if err != nil {
t.Fatalf("Failed to sync object: %v", err)
} else if !done {
Expand Down

0 comments on commit 3379b56

Please sign in to comment.