Skip to content

[rfr] Get console vnc/serial/rdp/spice methods#88

Merged
jamiehannaford merged 3 commits intophp-opencloud:masterfrom
haphan:os-console
Aug 31, 2016
Merged

[rfr] Get console vnc/serial/rdp/spice methods#88
jamiehannaford merged 3 commits intophp-opencloud:masterfrom
haphan:os-console

Conversation

@haphan
Copy link
Collaborator

@haphan haphan commented Aug 28, 2016

@jamiehannaford Please review

@haphan haphan changed the title [wip] Get console vnc/serial/rdp/spice methods [rfr] Get console vnc/serial/rdp/spice methods Aug 28, 2016
* Defaults to novnc.
*
* @return mixed
*/
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is $type an arg here? Surely it'll always be novnc for this operation? I like removing all unnecessary expectations for users.

Copy link
Collaborator Author

@haphan haphan Aug 30, 2016

Choose a reason for hiding this comment

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

@jamiehannaford Type is an arg here so that user can pass custom type if needed.

Type can be either novnc or xvpvnc. novnc seems to be the only type get documented according to doc so I put it as the default parameter.

@jamiehannaford
Copy link
Contributor

Looks great, just a few really minor issues

@jamiehannaford jamiehannaford merged commit a7a8a66 into php-opencloud:master Aug 31, 2016
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