Skip to content

Commit d573d47

Browse files
committed
Change %d to %v in Sprintf
1 parent 29a4511 commit d573d47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

github/dependabot_secrets.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ func (s *DependabotService) CreateOrUpdateRepoSecret(ctx context.Context, owner,
146146
func (s *DependabotService) CreateOrUpdateOrgSecret(ctx context.Context, org string, eSecret *DependabotEncryptedSecret) (*Response, error) {
147147
repoIDs := make([]string, len(eSecret.SelectedRepositoryIDs))
148148
for i, secret := range eSecret.SelectedRepositoryIDs {
149-
repoIDs[i] = fmt.Sprintf("%d", secret)
149+
repoIDs[i] = fmt.Sprintf("%v", secret)
150150
}
151151
params := struct {
152152
*DependabotEncryptedSecret

0 commit comments

Comments
 (0)