diff options
author | Jon Bratseth <bratseth@gmail.com> | 2021-08-17 10:54:59 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2021-08-17 10:54:59 +0200 |
commit | 08aafa0e7d44311413fef7472b692f42b948fea5 (patch) | |
tree | 32d1352edd17cf2f348c26a52ae8dd1b27eccee9 /client | |
parent | a400e3acaa828f3c635939d26bdb6b057892217f (diff) |
Cleanup
Diffstat (limited to 'client')
-rw-r--r-- | client/go/src/github.com/vespa-engine/vespa/cmd/target.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/client/go/src/github.com/vespa-engine/vespa/cmd/target.go b/client/go/src/github.com/vespa-engine/vespa/cmd/target.go index 84c7dc5a0f3..1d56c39540a 100644 --- a/client/go/src/github.com/vespa-engine/vespa/cmd/target.go +++ b/client/go/src/github.com/vespa-engine/vespa/cmd/target.go @@ -15,14 +15,14 @@ type target struct { document string } -type Context int32 +type context int32 const ( - deployContext Context = 0 - queryContext Context = 1 - documentContext Context = 2 + deployContext context = 0 + queryContext context = 1 + documentContext context = 2 ) -func getTarget(targetContext Context) *target { +func getTarget(targetContext context) *target { if strings.HasPrefix(targetArgument, "http") { // TODO: Add default ports if missing switch targetContext { |