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

Add restore and copy command #61

Merged
merged 3 commits into from
Apr 16, 2018
Merged

Conversation

chregu
Copy link
Contributor

@chregu chregu commented Apr 16, 2018

No description provided.

// CopySourceImage copies a source image by hash from one org to another
//
// See: https://rokka.io/documentation/references/source-images.html
func (c *Client) CopySourceImage(source_org, hash string, destination_org string) error {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use camelCase for the variable names

}

var sourceImagesCopyCmd = &cobra.Command{
Use: "copy [source_org] [hash] [destination_org]",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use camelCase also for the doc placeholders. It doesn't really matter, just to be consistent.

Copy link
Contributor

@mweibel mweibel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 thanks, few nitpicks. Otherwise good

@chregu
Copy link
Contributor Author

chregu commented Apr 16, 2018

fixed the camelCase stuff

@chregu chregu force-pushed the add-restore-and-copy-command branch from d066b91 to 0ff0347 Compare April 16, 2018 11:57
@mweibel mweibel changed the title WIP: Add restore and copy command Add restore and copy command Apr 16, 2018
@mweibel mweibel merged commit 8d082a9 into master Apr 16, 2018
@mweibel mweibel deleted the add-restore-and-copy-command branch April 16, 2018 13:07
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.

2 participants