~jameinel/juju-core/api-facade-registry

« back to all changes in this revision

Viewing changes to cmd/juju/addrelation.go

  • Committer: John Arbash Meinel
  • Date: 2014-05-14 12:29:15 UTC
  • mfrom: (2715.2.15 juju-core)
  • Revision ID: john@arbash-meinel.com-20140514122915-lf70e9bkkxx9m11q
Merge trunk r2730

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
}
27
27
 
28
28
func (c *AddRelationCommand) Init(args []string) error {
29
 
        if err := c.EnsureEnvName(); err != nil {
30
 
                return err
31
 
        }
32
29
        if len(args) != 2 {
33
30
                return fmt.Errorf("a relation must involve two services")
34
31
        }