diff --git a/internal/pkg/handler/create.go b/internal/pkg/handler/create.go index cbfaa7c8..ebc71350 100644 --- a/internal/pkg/handler/create.go +++ b/internal/pkg/handler/create.go @@ -3,7 +3,7 @@ package handler import ( "github.com/sirupsen/logrus" "github.com/stakater/Reloader/internal/pkg/util" - "k8s.io/api/core/v1" + v1 "k8s.io/api/core/v1" ) // ResourceCreatedHandler contains new objects diff --git a/internal/pkg/handler/update.go b/internal/pkg/handler/update.go index 543f0ae3..c7e6e58d 100644 --- a/internal/pkg/handler/update.go +++ b/internal/pkg/handler/update.go @@ -3,7 +3,7 @@ package handler import ( "github.com/sirupsen/logrus" "github.com/stakater/Reloader/internal/pkg/util" - "k8s.io/api/core/v1" + v1 "k8s.io/api/core/v1" ) // ResourceUpdatedHandler contains updated objects diff --git a/pkg/kube/resourcemapper.go b/pkg/kube/resourcemapper.go index bf62cc01..2d82ca28 100644 --- a/pkg/kube/resourcemapper.go +++ b/pkg/kube/resourcemapper.go @@ -1,7 +1,7 @@ package kube import ( - "k8s.io/api/core/v1" + v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/runtime" )