~themue/juju-core/go-state-first-error-improvement

« back to all changes in this revision

Viewing changes to state/state.go

  • Committer: Gustavo Niemeyer
  • Date: 2012-06-06 15:19:43 UTC
  • mfrom: (206.1.1 go-state-environconfig)
  • Revision ID: gustavo@niemeyer.net-20120606151943-tz8b8q0a4n4rqhm1
state: rename Environment method to EnvironConfig

R=TheMue, fwereade
CC=
https://codereview.appspot.com/6295048

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
        return newConfigWatcher(s, zkEnvironmentPath)
75
75
}
76
76
 
77
 
// Environment returns the current configuration of the environment.
78
 
func (s *State) Environment() (*ConfigNode, error) {
 
77
// EnvironConfig returns the current configuration of the environment.
 
78
func (s *State) EnvironConfig() (*ConfigNode, error) {
79
79
        return readConfigNode(s.zk, zkEnvironmentPath)
80
80
}
81
81