From bad3abb8edffbc692b40bf58c5963bf9d479f146 Mon Sep 17 00:00:00 2001 From: Costa Date: Tue, 1 Jun 2021 14:34:33 +0800 Subject: [PATCH] fix comments in proxy middleware (#1355) fix a little comment wrong in proxy middleware --- middleware/proxy/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleware/proxy/config.go b/middleware/proxy/config.go index 194485fc81..19c800a65c 100644 --- a/middleware/proxy/config.go +++ b/middleware/proxy/config.go @@ -46,7 +46,7 @@ var ConfigDefault = Config{ ModifyResponse: nil, } -// Helper function to set default values +// configDefault function to set default values func configDefault(config ...Config) Config { // Return default config if nothing provided if len(config) < 1 {