fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
770f837c11
commit
485ad60fe0
@ -239,6 +239,7 @@ func giteaPullRequest(ctx context.Context, cfg *Config, mods map[string]modules.
|
|||||||
req.Header.Add("Accept", "application/json")
|
req.Header.Add("Accept", "application/json")
|
||||||
req.Header.Add("Content-Type", "application/json")
|
req.Header.Add("Content-Type", "application/json")
|
||||||
|
|
||||||
|
logger.Infof(ctx, "try to get pulls GET "+envAPIURL+"/repos/"+envREPOSITORY+"/pulls?state=open&token=XXXXXX")
|
||||||
rsp, err := http.DefaultClient.Do(req)
|
rsp, err := http.DefaultClient.Do(req)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user