summaryrefslogtreecommitdiff
path: root/internal/omode/mode.go
diff options
context:
space:
mode:
authorPaul Bütow <pbuetow@mimecast.com>2020-01-26 11:26:53 +0000
committerPaul Bütow <pbuetow@mimecast.com>2020-02-07 13:31:15 +0000
commit0945da8dfefcbb723eecea0e5f4eafff63398253 (patch)
treef06dab4d2bf21d25d176b23d5baeca588d27f5d7 /internal/omode/mode.go
parent2a8e5de265a0e0a31a5834909d6879f5c9941467 (diff)
Introduce drun command, refactor code to use context package
Diffstat (limited to 'internal/omode/mode.go')
-rw-r--r--internal/omode/mode.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/omode/mode.go b/internal/omode/mode.go
index 57366d2..e29aacc 100644
--- a/internal/omode/mode.go
+++ b/internal/omode/mode.go
@@ -12,7 +12,7 @@ const (
GrepClient Mode = iota
MapClient Mode = iota
HealthClient Mode = iota
- ExecClient Mode = iota
+ RunClient Mode = iota
)
func (m Mode) String() string {
@@ -29,8 +29,8 @@ func (m Mode) String() string {
return "map"
case HealthClient:
return "health"
- case ExecClient:
- return "exec"
+ case RunClient:
+ return "run"
default:
return "unknown"
}