~rogpeppe/juju-core/457-configstore-server-cmdline

« back to all changes in this revision

Viewing changes to environs/configstore/server.go

  • Committer: Roger Peppe
  • Date: 2013-10-22 22:17:50 UTC
  • Revision ID: roger.peppe@canonical.com-20131022221750-v7435px1u0gfr9cr
cmd/configstore: new command
environs/configstore: use JUJU_CONFIGSTORE env var for store server address

Show diffs side-by-side

added added

removed removed

Lines of Context:
189
189
        if info.CreatorId == "" {
190
190
                return fmt.Errorf("no creator id")
191
191
        }
192
 
        delete(info.Config, "name")
193
192
        // TODO sanity check config?
194
193
        return srv.backing.Write(configName(envName), info.CreatorId, info.Config)
195
194
}