From 395d79e9838cd51a946670a4d488174a7af256a1 Mon Sep 17 00:00:00 2001 From: EZ4Jam1n <1286884552@qq.com> Date: Mon, 2 Sep 2024 23:17:29 +0800 Subject: [PATCH] fix: lint error --- thrift-gen-http-swagger/plugins/plugins.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thrift-gen-http-swagger/plugins/plugins.go b/thrift-gen-http-swagger/plugins/plugins.go index b40e3c9..5e8b665 100644 --- a/thrift-gen-http-swagger/plugins/plugins.go +++ b/thrift-gen-http-swagger/plugins/plugins.go @@ -53,7 +53,7 @@ func handleRequest(req *plugin.Request) (err error) { if req == nil { fmt.Fprintf(os.Stderr, "unexpected nil request") } - + args := new(args.Arguments) if err := args.Unpack(req.PluginParameters); err != nil { log.Printf("[Error]: unpack args failed: %s", err.Error())