Skip to content

Commit

Permalink
Merge pull request #744 from abhinavdahiya/pr-717-fix
Browse files Browse the repository at this point in the history
asset/manifests: fix filepath for ingress crd
  • Loading branch information
openshift-merge-robot authored Nov 28, 2018
2 parents 92f97f3 + aeeeb83 commit f648d34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/asset/manifests/ingress.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (ing *Ingress) Generate(dependencies asset.Parents) error {

ing.FileList = []*asset.File{
{
Filename: filepath.Join(content.TemplateDir, ingCrdFilename),
Filename: filepath.Join(manifestDir, ingCrdFilename),
Data: []byte(crdData),
},
{
Expand All @@ -92,7 +92,7 @@ func (ing *Ingress) Files() []*asset.File {

// Load loads the already-rendered files back from disk.
func (ing *Ingress) Load(f asset.FileFetcher) (bool, error) {
crdFile, err := f.FetchByName(ingCrdFilename)
crdFile, err := f.FetchByName(filepath.Join(manifestDir, ingCrdFilename))
if err != nil {
if os.IsNotExist(err) {
return false, nil
Expand Down

0 comments on commit f648d34

Please sign in to comment.