From 3d02f4993743b6d4010c87afc168bfd08ffd1e70 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Thu, 10 Mar 2016 09:38:03 +0100 Subject: Be consistent --- authorize.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/authorize.go b/authorize.go index 843b7a7..42a9039 100644 --- a/authorize.go +++ b/authorize.go @@ -23,10 +23,10 @@ type IdentType string const IdentDNS IdentType = "dns" -func (a Authorization) Supported(sol Solvers) []Challenge { +func (a Authorization) Supported(sols Solvers) []Challenge { supported := func(com []int) bool { for _, n := range com { - if _, ok := sol[a.Challenges[n].Type]; !ok { + if _, ok := sols[a.Challenges[n].Type]; !ok { return false } } -- cgit v1.2.3