-
Notifications
You must be signed in to change notification settings - Fork 121
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
Implement vineyardctl put command #1553
Conversation
✅ Deploy Preview for v6d ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
k8s/cmd/README.md
Outdated
er (default "vineyard-system") | ||
``` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check the generated doc manually.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
521451d
to
a25bfb9
Compare
Signed-off-by: zhuyi1159 <1159751291@qq.com>
Signed-off-by: zhuyi1159 <1159751291@qq.com>
Signed-off-by: zhuyi1159 <1159751291@qq.com>
Signed-off-by: zhuyi1159 <1159751291@qq.com>
k8s/cmd/commands/client/put.go
Outdated
value := []byte(flags.Value) | ||
object_id, err := client.PutBlob(value, uint64(len(flags.Value))) | ||
if err != nil { | ||
log.Printf("failed to put value: %s", err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
log.Printf("failed to put value: %s", err) | |
log.Errorf(err, fmt.Sprintf("failed to put value: %v", value)) |
k8s/cmd/commands/client/put.go
Outdated
objectId := fmt.Sprintf("o%016x", object_id) | ||
fmt.Println("object id : ", objectId) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
objectId := fmt.Sprintf("o%016x", object_id) | |
fmt.Println("object id : ", objectId) | |
log.Output("object id : ", types.ObjectIDToString(object_id)) |
Signed-off-by: zhuyi1159 <1159751291@qq.com>
a25bfb9
to
f1df854
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
What do these changes do?
as titled
Related issue number
Fixes #1469