[driver] remove unused schema
@@ -17,7 +17,6 @@ import (
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
corev1 "k8s.io/api/core/v1"
- storagev1 "k8s.io/api/storage/v1"
apierrors "k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/api/resource"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -51,10 +50,6 @@ func NewLogicalVolumeService(namespace string) (driver.LogicalVolumeService, err
if err != nil {
return nil, err
}
- err = storagev1.AddToScheme(scheme)
- if err != nil {
- return nil, err
- }
mgr, err := ctrl.NewManager(ctrl.GetConfigOrDie(), ctrl.Options{Scheme: scheme})
if err != nil {
