Skip to content

Commit

Permalink
string casting doesn't work that way
Browse files Browse the repository at this point in the history
  • Loading branch information
lavalamp committed May 28, 2016
1 parent 38c6659 commit 28f091f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion mungegithub/vendor/k8s.io/contrib/test-utils/utils/utils.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion test-utils/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import (
"net/http"
"net/url"
"path"
"strconv"
"time"

"github.com/golang/glog"
Expand Down Expand Up @@ -198,7 +199,7 @@ func (u *Utils) CheckFinishedStatus(job string, buildNumber int) (bool, error) {
// ListFilesInBuild takes build info and list all file names with matching prefix
// The returned file name included the complete path from bucket root
func (u *Utils) ListFilesInBuild(job string, buildNumber int, prefix string) ([]string, error) {
combinePrefix := path.Join(u.directory, job, string(buildNumber), prefix)
combinePrefix := path.Join(u.directory, job, strconv.Itoa(buildNumber), prefix)
ret, err := u.ListFilesWithPrefix(combinePrefix)
return ret, err
}
Expand Down

0 comments on commit 28f091f

Please sign in to comment.