Skip to content

Commit

Permalink
Properly convert the gcp project number
Browse files Browse the repository at this point in the history
  • Loading branch information
Genevieve Lesperance committed Sep 20, 2019
1 parent b8c415c commit c35f792
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gcp/leftovers.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"errors"
"fmt"
"io/ioutil"
"strconv"

homedir "github.com/mitchellh/go-homedir"

Expand Down Expand Up @@ -107,7 +108,7 @@ func NewLeftovers(logger logger, keyPath string) (Leftovers, error) {
if err != nil {
return Leftovers{}, err
}
projectNumber := string(project.ProjectNumber)
projectNumber := strconv.FormatInt(project.ProjectNumber, 10)

iamService, err := gcpiam.New(httpClient)
if err != nil {
Expand Down

0 comments on commit c35f792

Please sign in to comment.