Update imports

Signed-off-by: longquan0104 <longquan0104@gmail.com>
pull/12070/head
longquan0104 1 year ago
parent 3691804127
commit f436e96be0

@ -29,9 +29,10 @@ import (
"sync"
"time"
rspb "helm.sh/helm/v3/pkg/release"
jsonpatch "github.com/evanphx/json-patch"
"github.com/pkg/errors"
"helm.sh/helm/v3/pkg/release"
batch "k8s.io/api/batch/v1"
v1 "k8s.io/api/core/v1"
apiextv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
@ -858,7 +859,7 @@ func (c *Client) WaitAndGetCompletedPodPhase(name string, timeout time.Duration)
}
func getAnnotationDeletePropagation(annotation map[string]string) metav1.DeletionPropagation {
if propagation, ok := annotation[release.HookDeletePropagationAnnotation]; ok {
if propagation, ok := annotation[rspb.HookDeletePropagationAnnotation]; ok {
switch metav1.DeletionPropagation(propagation) {
case metav1.DeletePropagationBackground:
return metav1.DeletePropagationBackground

@ -13,7 +13,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package release
package release // import "helm.sh/helm/v3/pkg/release"
import "helm.sh/helm/v3/pkg/chart"

Loading…
Cancel
Save