aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/images/images.go
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/images/images.go')
-rw-r--r--tpl/images/images.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tpl/images/images.go b/tpl/images/images.go
index 1d12aea72..aae8b3c2b 100644
--- a/tpl/images/images.go
+++ b/tpl/images/images.go
@@ -55,7 +55,7 @@ type Namespace struct {
// Config returns the image.Config for the specified path relative to the
// working directory.
-func (ns *Namespace) Config(path interface{}) (image.Config, error) {
+func (ns *Namespace) Config(path any) (image.Config, error) {
filename, err := cast.ToStringE(path)
if err != nil {
return image.Config{}, err
@@ -92,7 +92,7 @@ func (ns *Namespace) Config(path interface{}) (image.Config, error) {
return config, nil
}
-func (ns *Namespace) Filter(args ...interface{}) (resource.Image, error) {
+func (ns *Namespace) Filter(args ...any) (resource.Image, error) {
if len(args) < 2 {
return nil, errors.New("must provide an image and one or more filters")
}