From 2f51eb77aa6b6dd1e9d4e8a6457851ade46dd676 Mon Sep 17 00:00:00 2001 From: pnguyen215 Date: Sat, 23 Sep 2023 12:08:39 +0700 Subject: [PATCH] :recycle: refactor: updated restify #14 --- pkg/ami/{ami_curl.go => ami_restify.go} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename pkg/ami/{ami_curl.go => ami_restify.go} (98%) diff --git a/pkg/ami/ami_curl.go b/pkg/ami/ami_restify.go similarity index 98% rename from pkg/ami/ami_curl.go rename to pkg/ami/ami_restify.go index 4793fe9..66b6ef2 100644 --- a/pkg/ami/ami_curl.go +++ b/pkg/ami/ami_restify.go @@ -101,7 +101,7 @@ func (c *AmiRestify) request(method, path string, queryParams map[string]string, } request.Header = c.h if c.debug { - log.Printf("AmiCurl sending %s request to %s", method, u.String()) + log.Printf("Restify sending %s request to %s", method, u.String()) } response, err := c.c.Do(request) if err != nil {