update
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
131c8e3d71
commit
3ef2a5d7ce
@ -260,7 +260,7 @@ func giteaPullRequest(ctx context.Context, cfg *Config, mods map[string]modules.
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if rsp.StatusCode != http.StatusOK {
|
if rsp.StatusCode != http.StatusCreated {
|
||||||
buf, _ = io.ReadAll(rsp.Body)
|
buf, _ = io.ReadAll(rsp.Body)
|
||||||
return fmt.Errorf("unknown error: %s", buf)
|
return fmt.Errorf("unknown error: %s", buf)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user