Skip to content

Commit

Permalink
Merge pull request #500 from eveneast/main
Browse files Browse the repository at this point in the history
Fix some typos in comments
  • Loading branch information
yedf2 authored May 4, 2024
2 parents bc7869e + 5105680 commit 5a58f8b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions charts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ helm delete -n dtm-system dtm

### Ingress parameters

| Key | Description | Value |
|--------------------------------|----------------------------------------------------------------------------------|---------------------|
| `ingress.enabled` | Enable ingress record generation for DTM | `false` |
| `ingress.className` | IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+) | `"nginx"` |
| Key | Description | Value |
|--------------------------------|-------------------------------------------------------------------------------|---------------------|
| `ingress.enabled` | Enable ingress record generation for DTM | `false` |
| `ingress.className` | IngressClass that will be used to implement the Ingress (Kubernetes 1.18+) | `"nginx"` |
| `ingress.annotations` | To enable certificate auto generation, place here your cert-manager annotations. | `{}` |
| `ingress.hosts.host` | Default host for the ingress record. | `"your-domain.com"` |
| `ingress.hosts.paths.path` | Default path for the ingress record | `"/"` |
| `ingress.hosts.paths.pathType` | Ingress path type | `"Prefix"` |
| `ingress.tls` | Enable TLS configuration for the host defined at ingress.hostname parameter | `[]` |
| `ingress.hosts.host` | Default host for the ingress record. | `"your-domain.com"` |
| `ingress.hosts.paths.path` | Default path for the ingress record | `"/"` |
| `ingress.hosts.paths.pathType` | Ingress path type | `"Prefix"` |
| `ingress.tls` | Enable TLS configuration for the host defined at ingress.hostname parameter | `[]` |
2 changes: 1 addition & 1 deletion client/dtmcli/dtmimp/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package dtmimp

import "database/sql"

// DB inteface of dtmcli db
// DB interface of dtmcli db
type DB interface {
Exec(query string, args ...interface{}) (sql.Result, error)
QueryRow(query string, args ...interface{}) *sql.Row
Expand Down
6 changes: 3 additions & 3 deletions client/workflow/workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,20 +61,20 @@ func ExecuteCtx(ctx context.Context, name string, gid string, data []byte) ([]by
}

// Execute is the same as ExecuteCtx, but with context.Background
// Deprecated: use ExecuteCtx instaead
// Deprecated: use ExecuteCtx instead
func Execute(name string, gid string, data []byte) error {
_, err := ExecuteCtx(context.Background(), name, gid, data)
return err
}

// Execute2 is the same as Execute, but workflow func can return result
// Deprecated: use ExecuteCtx instaead
// Deprecated: use ExecuteCtx instead
func Execute2(name string, gid string, data []byte) ([]byte, error) {
return ExecuteCtx(context.Background(), name, gid, data)
}

// ExecuteByQS is like Execute, but name and gid will be obtained from qs
// Deprecated: use ExecuteCtx instaead
// Deprecated: use ExecuteCtx instead
func ExecuteByQS(qs url.Values, body []byte) error {
name := qs.Get("op")
gid := qs.Get("gid")
Expand Down

0 comments on commit 5a58f8b

Please sign in to comment.