Skip to content
This repository has been archived by the owner on Jul 31, 2020. It is now read-only.

Commit

Permalink
Bump to ytt 0.27.1
Browse files Browse the repository at this point in the history
  • Loading branch information
phil9909 committed May 4, 2020
1 parent d833f2b commit 98c490a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.13

require (
github.com/imdario/mergo v0.3.8 // indirect
github.com/k14s/ytt v0.27.0
github.com/k14s/ytt v0.27.1
github.com/onsi/gomega v1.9.0
go.starlark.net v0.0.0-20190219202100-4eb76950c5f0
golang.org/x/crypto v0.0.0-20200302210943-78000ba7a073 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
github.com/k14s/starlark-go v0.0.0-20200402152745-409c85f3828d h1:4M2Up49zRmP9vl02ngiOalNj2G5Fie+9K2nlx0rh1DU=
github.com/k14s/starlark-go v0.0.0-20200402152745-409c85f3828d/go.mod h1:nmDLcffg48OtT/PSW0Hg7FvpRQsQh5OSqIylirxKC7o=
github.com/k14s/ytt v0.27.0 h1:K7tWAizJ05r3PViO6i6JKHx+Xc7O+Aaw/WR6eN/Bc+s=
github.com/k14s/ytt v0.27.0/go.mod h1:aqGLSpChNeJO+ozZwOYkSKb0gXSYynTO+k6aQ6g5U0A=
github.com/k14s/ytt v0.27.1 h1:a1gyBXGPgi51DWn0FPdzY4k19kYsL8vMYkZ/aMNuxwE=
github.com/k14s/ytt v0.27.1/go.mod h1:aqGLSpChNeJO+ozZwOYkSKb0gXSYynTO+k6aQ6g5U0A=
github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q=
github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
Expand Down
6 changes: 3 additions & 3 deletions pkg/yttlint/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ func (l myTemplateLoader) Load(
return l.TemplateLoader.Load(thread, module)
}

func (l myTemplateLoader) FilePaths() []string {
return nil
func (l myTemplateLoader) FilePaths(string) ([]string, error) {
return nil, fmt.Errorf("Unexpected call to FilePaths") // this should be handled by the injected magic-data-type
}

func (l myTemplateLoader) FileData(string) ([]byte, error) {
return nil, fmt.Errorf("FileData is not supported")
return nil, fmt.Errorf("Unexpected call to FileData") // this should be handled by the injected magic-data-type
}

func (l myTemplateLoader) LoadData(
Expand Down

0 comments on commit 98c490a

Please # to comment.