diff --git a/pkg/driver/controller.go b/pkg/driver/controller.go index 031738208..e0d2dea77 100644 --- a/pkg/driver/controller.go +++ b/pkg/driver/controller.go @@ -183,7 +183,7 @@ func (d *Driver) CreateVolume(ctx context.Context, req *csi.CreateVolumeRequest) if err != nil { return nil, status.Errorf(codes.InvalidArgument, "Failed to parse invalid %v: %v", Gid, err) } - if uid < 0 { + if gid < 0 { return nil, status.Errorf(codes.InvalidArgument, "%v must be greater or equal than 0", Gid) } } diff --git a/pkg/driver/efs_watch_dog.go b/pkg/driver/efs_watch_dog.go index 8c5f719ad..0035279fd 100644 --- a/pkg/driver/efs_watch_dog.go +++ b/pkg/driver/efs_watch_dog.go @@ -108,6 +108,8 @@ stunnel_health_check_enabled = true stunnel_health_check_interval_min = 5 stunnel_health_check_command_timeout_sec = 30 +enable_version_check = false + [client-info] source={{.EfsClientSource}} diff --git a/pkg/driver/efs_watch_dog_test.go b/pkg/driver/efs_watch_dog_test.go index e77a1cc14..25f7a2130 100644 --- a/pkg/driver/efs_watch_dog_test.go +++ b/pkg/driver/efs_watch_dog_test.go @@ -98,6 +98,8 @@ stunnel_health_check_enabled = true stunnel_health_check_interval_min = 5 stunnel_health_check_command_timeout_sec = 30 +enable_version_check = false + [client-info] source=k8s