Skip to content

Commit

Permalink
Fixing typos in README.md and comments File (cadence-workflow#4142)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamrodrigo authored and yux0 committed May 4, 2021
1 parent 0a200cf commit 4ba8ac6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ docker pull ubercadence/server:master-auto-setup

Using different docker-compose files
-----------------------
By default `docker-compose up` will run with `docker-compose.yaml` in this folder.
By default `docker-compose up` will run with `docker-compose.yml` in this folder.
This compose file is running with Cassandra, with basic visibility,
using Prometheus for emitting metric, with Grafana access.

Expand All @@ -36,7 +36,7 @@ We also provide several other compose files for different features/modes:
* docker-compose-es.yml enables advanced visibility with ElasticSearch 6.x
* docker-compose-es-v7.yml enables advanced visibility with ElasticSearch 7.x
* docker-compose-mysql.yml uses MySQL as persistence storage
* docker-compose-postgres.yml uses PosstgreSQL as persistence storage
* docker-compose-postgres.yml uses PostgreSQL as persistence storage
* docker-compose-statsd.yaml runs with Statsd+Graphite
* docker-compose-multiclusters.yaml runs with 2 cadence clusters

Expand Down
2 changes: 1 addition & 1 deletion tools/cli/domainCommands.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ func (d *domainCLIImpl) DeprecateDomain(c *cli.Context) {
defer cancel()

if !force {
// check if there is any workflow in this domain, if exists, do not deprecate
// check if there is any workflow in this domain, if exists, do not deprecate
wfs, _ := listClosedWorkflow(getWorkflowClient(c), 1, 0, time.Now().UnixNano(), "", "", workflowStatusNotSet, nil, c)
if len(wfs) > 0 {
ErrorAndExit("Operation DeprecateDomain failed.", errors.New("Workflow history not cleared in this domain."))
Expand Down
3 changes: 2 additions & 1 deletion tools/cli/domainUtils.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ var (
Usage: "Optional token for security check",
},
cli.BoolFlag{
Name: FlagForce,
Name: FlagForce,
Usage: "Deprecate domain regardless of domain history.",
},
}
Expand Down Expand Up @@ -453,3 +453,4 @@ func getConfigDir(c *cli.Context) string {
}
return dirPath
}

0 comments on commit 4ba8ac6

Please sign in to comment.