From 34d84dc865d61b054ca536fc3be9901420f5b5ec Mon Sep 17 00:00:00 2001 From: min zhang <35321102+min-zh@users.noreply.github.com> Date: Fri, 9 Oct 2020 15:00:03 +0800 Subject: [PATCH] fmt (#3004) Signed-off-by: zhangmin --- pkg/models/resources/v1alpha3/volumesnapshot/volumesnapshot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/models/resources/v1alpha3/volumesnapshot/volumesnapshot.go b/pkg/models/resources/v1alpha3/volumesnapshot/volumesnapshot.go index d5a040a83..916c8edab 100644 --- a/pkg/models/resources/v1alpha3/volumesnapshot/volumesnapshot.go +++ b/pkg/models/resources/v1alpha3/volumesnapshot/volumesnapshot.go @@ -97,7 +97,7 @@ func snapshotStatus(item *v1beta1.VolumeSnapshot) string { if item != nil && item.Status != nil && item.Status.ReadyToUse != nil && *item.Status.ReadyToUse { status = statusReady } - if item != nil && item.DeletionTimestamp != nil{ + if item != nil && item.DeletionTimestamp != nil { status = statusDeleting } return status