Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for additional createVol parameters #107

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Omar007
Copy link

@Omar007 Omar007 commented Oct 2, 2024

Updates the cfs_server to support the createVol parameters as documented at https://www.cubefs.io/docs/master/dev-guide/admin-api/master/volume.html#create

I bumped the github.com/golang/protobuf to v1.5.4 as the current master does not want to build with v1.5.3 on my end. Attempting to build with v1.5.3 on either master or my own branch would fail with the error:

# github.com/golang/protobuf/protoc-gen-go/descriptor
../../../go/pkg/mod/github.com/golang/protobuf@v1.5.3/protoc-gen-go/descriptor/descriptor.pb.go:106:61: undefined: descriptorpb.Default_FileOptions_PhpGenericServices

Also resolved 2 deprecation warnings in this file and streamlined the log messages to be more uniform.

Signed-off-by: Omar Pakker <Omar007@users.noreply.github.com>
Signed-off-by: Omar Pakker <Omar007@users.noreply.github.com>
@Omar007 Omar007 force-pushed the feature/extra-params branch from dbcfdad to 10da91a Compare October 2, 2024 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant