Update package name and update package versions
This commit is contained in:
@@ -29,10 +29,11 @@ import (
|
||||
"google.golang.org/grpc/status"
|
||||
"k8s.io/klog/v2"
|
||||
|
||||
"github.com/sys-liqian/csi-driver-webdav/pkg/webdav/mount"
|
||||
"git.ruekov.eu/ruakij/webdav-csi-driver/pkg/webdav/mount"
|
||||
)
|
||||
|
||||
type ControllerServer struct {
|
||||
csi.UnimplementedControllerServer
|
||||
*Driver
|
||||
mounter mount.Interface
|
||||
}
|
||||
|
||||
@@ -17,8 +17,8 @@ limitations under the License.
|
||||
package webdav
|
||||
|
||||
import (
|
||||
"git.ruekov.eu/ruakij/webdav-csi-driver/pkg/webdav/mount"
|
||||
"github.com/container-storage-interface/spec/lib/go/csi"
|
||||
"github.com/sys-liqian/csi-driver-webdav/pkg/webdav/mount"
|
||||
|
||||
"k8s.io/klog/v2"
|
||||
)
|
||||
|
||||
@@ -20,12 +20,13 @@ import (
|
||||
"context"
|
||||
|
||||
"github.com/container-storage-interface/spec/lib/go/csi"
|
||||
"github.com/golang/protobuf/ptypes/wrappers"
|
||||
"google.golang.org/grpc/codes"
|
||||
"google.golang.org/grpc/status"
|
||||
"google.golang.org/protobuf/types/known/wrapperspb"
|
||||
)
|
||||
|
||||
type IdentityServer struct {
|
||||
csi.UnimplementedIdentityServer
|
||||
Driver *Driver
|
||||
}
|
||||
|
||||
@@ -51,7 +52,7 @@ func (ids *IdentityServer) GetPluginInfo(_ context.Context, _ *csi.GetPluginInfo
|
||||
}
|
||||
|
||||
func (ids *IdentityServer) Probe(_ context.Context, _ *csi.ProbeRequest) (*csi.ProbeResponse, error) {
|
||||
return &csi.ProbeResponse{Ready: &wrappers.BoolValue{Value: true}}, nil
|
||||
return &csi.ProbeResponse{Ready: &wrapperspb.BoolValue{Value: true}}, nil
|
||||
}
|
||||
|
||||
func (ids *IdentityServer) GetPluginCapabilities(_ context.Context, _ *csi.GetPluginCapabilitiesRequest) (*csi.GetPluginCapabilitiesResponse, error) {
|
||||
|
||||
@@ -26,10 +26,11 @@ import (
|
||||
"google.golang.org/grpc/status"
|
||||
"k8s.io/klog/v2"
|
||||
|
||||
"github.com/sys-liqian/csi-driver-webdav/pkg/webdav/mount"
|
||||
"git.ruekov.eu/ruakij/webdav-csi-driver/pkg/webdav/mount"
|
||||
)
|
||||
|
||||
type NodeServer struct {
|
||||
csi.UnimplementedNodeServer
|
||||
Driver *Driver
|
||||
mounter mount.Interface
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user