From e3ef204ac7a429a311312c436a9ffa56b0729d18 Mon Sep 17 00:00:00 2001 From: James Phillips Date: Tue, 17 Nov 2015 09:27:10 -0800 Subject: [PATCH] Makes all the query ops the correct type. --- consul/structs/prepared_query.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/consul/structs/prepared_query.go b/consul/structs/prepared_query.go index c2d04d4e6a..af360f7d24 100644 --- a/consul/structs/prepared_query.go +++ b/consul/structs/prepared_query.go @@ -83,8 +83,8 @@ type PreparedQueryOp string const ( PreparedQueryCreate PreparedQueryOp = "create" - PreparedQueryUpdate = "update" - PreparedQueryDelete = "delete" + PreparedQueryUpdate PreparedQueryOp = "update" + PreparedQueryDelete PreparedQueryOp = "delete" ) // QueryRequest is used to create or change prepared queries.