From 30c1973e8b42ba97b1c6cd661183bb29bff58cf5 Mon Sep 17 00:00:00 2001 From: Kyle Havlovitz Date: Sun, 8 Apr 2018 21:59:59 -0700 Subject: [PATCH] Fix the testing endpoint's root set op --- agent/consul/testing_endpoint.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/consul/testing_endpoint.go b/agent/consul/testing_endpoint.go index e47e0e7378..6e3cec12fb 100644 --- a/agent/consul/testing_endpoint.go +++ b/agent/consul/testing_endpoint.go @@ -27,7 +27,7 @@ func (s *Test) ConnectCASetRoots( // Commit resp, err := s.srv.raftApply(structs.ConnectCARequestType, &structs.CARequest{ - Op: structs.CAOpSet, + Op: structs.CAOpSetRoots, Index: idx, Roots: args, })