Skip to content

Commit

Permalink
Fix inconsistent logging in devctl repo setup renovate (#643)
Browse files Browse the repository at this point in the history
  • Loading branch information
marians authored Oct 4, 2023
1 parent 61cfa24 commit 1842076
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Fixed inconsistent logging in `devctl repo setup renovate`.

## [6.12.0] - 2023-09-28

### Added
Expand Down
3 changes: 1 addition & 2 deletions pkg/githubclient/renovate.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package githubclient
import (
"context"
"fmt"
"log"
"net/http"

"github.com/google/go-github/v55/github"
Expand Down Expand Up @@ -34,7 +33,7 @@ func (c *Client) AddRepoToRenovatePermissions(ctx context.Context, org string, r
return err
}

log.Printf("response status: %q", resp.Status)
c.logger.Printf("response status: %q", resp.Status)

return nil
}
Expand Down

0 comments on commit 1842076

Please sign in to comment.