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

Env cmd manual #308

Merged
merged 9 commits into from Jul 15, 2014
Merged

Env cmd manual #308

merged 9 commits into from Jul 15, 2014

Conversation

howbazaar
Copy link
Contributor

This work removes the dependency that the manual provisioning had on the environment name.

Instead, the provisioning requires something that supports the API it needs to call. This means that the interface that the add-machine command depends on needs a few more methods.

The AddMachines client method is now used, and the 1.18 fall-back code is removed.

@@ -107,10 +107,11 @@ func (c *AddMachineCommand) Init(args []string) error {
}

type AddMachineAPI interface {
Copy link
Contributor

Choose a reason for hiding this comment

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

public types need a comment

@davecheney
Copy link
Contributor

LGTM modulo comments.

@howbazaar
Copy link
Contributor Author

$$merge$$

@jujubot
Copy link
Collaborator

jujubot commented Jul 15, 2014

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

jujubot added a commit that referenced this pull request Jul 15, 2014
Env cmd manual

This work removes the dependency that the manual provisioning had on the environment name.

Instead, the provisioning requires something that supports the API it needs to call.  This means that the interface that the add-machine command depends on needs a few more methods.

The AddMachines client method is now used, and the 1.18 fall-back code is removed.
@jujubot jujubot merged commit bbc9c34 into juju:master Jul 15, 2014
@howbazaar howbazaar deleted the env-cmd-manual branch July 15, 2014 23:24
laszlokajtar pushed a commit to laszlokajtar/juju that referenced this pull request Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants