Skip to content
This repository was archived by the owner on Aug 15, 2022. It is now read-only.

Machine mount - add head mount handler to machine group. - #10362

Merged
cihangir merged 6 commits into
masterfrom
machine_mount_machinegroup_head
Jan 23, 2017
Merged

Machine mount - add head mount handler to machine group.#10362
cihangir merged 6 commits into
masterfrom
machine_mount_machinegroup_head

Conversation

@ppknap

@ppknap ppknap commented Jan 19, 2017

Copy link
Copy Markdown
Contributor

Depends on: #10358

Code coverage: 48.0% of statements

How Has This Been Tested?

Unit tests.

Screenshots (if appropriate):

none

Types of changes

  • New feature (non-breaking change which adds functionality)

@cihangir

Copy link
Copy Markdown
Contributor

dependant PR is merged, we can rebase this

@ppknap
ppknap force-pushed the machine_mount_machinegroup_head branch from a7031c4 to 204d664 Compare January 23, 2017 14:17
@ppknap

ppknap commented Jan 23, 2017

Copy link
Copy Markdown
Contributor Author

@cihangir @rjeczalik rebased

// HeadMountResponse defines machine group head mount response.
type HeadMountResponse struct {
// ExistMountID is not empty when mount to a given remote folder already exists.
ExistMountID mount.ID `json:"existMountID"`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

According to the doc it can be empty - how about making it json:"existMountID,omitempty"?

AllDiskSize int64 `json:"allDiskSize"`
}

// HeadMount retrieves information on existing mount or prepares remote machine

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

about existing mount

@cihangir
cihangir merged commit 632c005 into master Jan 23, 2017
@cihangir
cihangir deleted the machine_mount_machinegroup_head branch January 23, 2017 18:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants