Skip to content
Snippets Groups Projects
Commit b2991228 authored by Ophestra's avatar Ophestra
Browse files

client to update parent

parent acfe939c
Branches
Tags v1.2.1
No related merge requests found
...@@ -49,9 +49,10 @@ func (r *Remote) Image(flake string) (store.Image, error) { ...@@ -49,9 +49,10 @@ func (r *Remote) Image(flake string) (store.Image, error) {
} }
// ImageUpdate updates metadata of store.Image with given snowflake. To persist original value in a field set \000. // ImageUpdate updates metadata of store.Image with given snowflake. To persist original value in a field set \000.
func (r *Remote) ImageUpdate(flake, source, commentary, commentaryTranslation string) error { func (r *Remote) ImageUpdate(flake, source, parent, commentary, commentaryTranslation string) error {
payload := api.ImageUpdatePayload{ payload := api.ImageUpdatePayload{
Source: source, Source: source,
Parent: parent,
Commentary: commentary, Commentary: commentary,
CommentaryTranslation: commentaryTranslation, CommentaryTranslation: commentaryTranslation,
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment