aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-06-05 16:58:24 +0200
committerDimitri Sokolyuk <demon@dim13.org>2016-06-05 16:58:24 +0200
commitaa8f6baafc28dd118711716aadb1b1e16929b8a0 (patch)
tree06892643758838b1bb11319a1d467cafe2e4a9fd
parentdbb6148e5ec6ead430473a96bab1446cedee3eca (diff)
ws
-rw-r--r--solve_webroot.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/solve_webroot.go b/solve_webroot.go
index 12720f3..f709849 100644
--- a/solve_webroot.go
+++ b/solve_webroot.go
@@ -26,8 +26,5 @@ func (s *webrootSolver) Solve(ch Challenge) error {
return ioutil.WriteFile(s.file, []byte(ch.KeyAuthorization), 0644)
}
-func (s *webrootSolver) Solved() error {
- return os.Remove(s.file)
-}
-
-func (webrootSolver) Type() ChalType { return ChallengeHTTP }
+func (s *webrootSolver) Solved() error { return os.Remove(s.file) }
+func (webrootSolver) Type() ChalType { return ChallengeHTTP }