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

Side by Side Diff: state/api/agent/state.go

Issue 13606045: various: gocheck, checkers, imports fixes (Closed)
Patch Set: Created 11 years, 7 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:
View unified diff | Download patch
OLDNEW
1 // Copyright 2012, 2013 Canonical Ltd. 1 // Copyright 2012, 2013 Canonical Ltd.
2 // Licensed under the AGPLv3, see LICENCE file for details. 2 // Licensed under the AGPLv3, see LICENCE file for details.
3 3
4 package agent 4 package agent
5 5
6 // TODO(fwereade): there's nothing machine-specific in here...
7
8 import ( 6 import (
9 "fmt" 7 "fmt"
10 8
11 "launchpad.net/juju-core/state/api/common" 9 "launchpad.net/juju-core/state/api/common"
12 "launchpad.net/juju-core/state/api/params" 10 "launchpad.net/juju-core/state/api/params"
13 ) 11 )
14 12
15 // State provides access to an agent's view of the state. 13 // State provides access to an agent's view of the state.
16 type State struct { 14 type State struct {
17 caller common.Caller 15 caller common.Caller
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 Tag: m.tag, 83 Tag: m.tag,
86 Password: password, 84 Password: password,
87 }}, 85 }},
88 } 86 }
89 err := m.st.caller.Call("Agent", "", "SetPasswords", args, &results) 87 err := m.st.caller.Call("Agent", "", "SetPasswords", args, &results)
90 if err != nil { 88 if err != nil {
91 return err 89 return err
92 } 90 }
93 return results.OneError() 91 return results.OneError()
94 } 92 }
OLDNEW
« names/user.go ('K') | « rpc/jsoncodec/conn.go ('k') | state/api/apiclient.go » ('j') | no next file with comments »

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