Skip to content
This repository has been archived by the owner on Jan 22, 2018. It is now read-only.

Commit

Permalink
Fix perf-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtek-t committed May 30, 2017
1 parent d2c9aa1 commit f2e86bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion clusterloader/framework/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import (
"errors"
"fmt"
"io/ioutil"
"os"
"path/filepath"

metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down Expand Up @@ -97,7 +98,8 @@ func MakePath(file string) string {
if file == "" {
framework.Failf("No template file defined!")
}
return filepath.Join("content/", file)
// TODO: We should enable passing this as a flag instead of hardcoding.
return filepath.Join(os.Getenv("GOPATH"), "src/k8s.io/perf-tests/clusterloader/content/", file)
}

// ConvertToLabelSet will convert the string label to a set, while also setting a default value
Expand Down

0 comments on commit f2e86bd

Please sign in to comment.