Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5)

Delta Between Two Patch Sets: environs/cloudinit/cloudinit.go

Issue 6561063: cmd/jujud: implement uniter upgrade
Left Patch Set: cmd/jujud: implement uniter upgrade Created 12 years, 6 months ago
Right Patch Set: cmd/jujud: implement uniter upgrade Created 12 years, 6 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « cmd/jujud/upgrade_test.go ('k') | environs/jujutest/livetests.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 package cloudinit 1 package cloudinit
2 2
3 import ( 3 import (
4 "encoding/base64" 4 "encoding/base64"
5 "fmt" 5 "fmt"
6 "launchpad.net/goyaml" 6 "launchpad.net/goyaml"
7 "launchpad.net/juju-core/cloudinit" 7 "launchpad.net/juju-core/cloudinit"
8 "launchpad.net/juju-core/environs" 8 "launchpad.net/juju-core/environs"
9 "launchpad.net/juju-core/environs/config" 9 "launchpad.net/juju-core/environs/config"
10 "launchpad.net/juju-core/log" 10 "launchpad.net/juju-core/log"
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 if cfg.Config == nil { 263 if cfg.Config == nil {
264 return requiresError("environment configuration") 264 return requiresError("environment configuration")
265 } 265 }
266 } else { 266 } else {
267 if cfg.StateInfo == nil || len(cfg.StateInfo.Addrs) == 0 { 267 if cfg.StateInfo == nil || len(cfg.StateInfo.Addrs) == 0 {
268 return requiresError("zookeeper hosts") 268 return requiresError("zookeeper hosts")
269 } 269 }
270 } 270 }
271 return nil 271 return nil
272 } 272 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b