File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -169,24 +169,21 @@ func (m *Machine) IsDefault() bool {
169169}
170170
171171// UpdatePassword sets the password for the Machine m.
172- func (m * Machine ) UpdatePassword (newpass string ) error {
172+ func (m * Machine ) UpdatePassword (newpass string ) {
173173 m .Password = newpass
174174 updateTokenValue (m .passtoken , newpass )
175- return nil
176175}
177176
178177// UpdateLogin sets the login for the Machine m.
179- func (m * Machine ) UpdateLogin (newlogin string ) error {
178+ func (m * Machine ) UpdateLogin (newlogin string ) {
180179 m .Login = newlogin
181180 updateTokenValue (m .logintoken , newlogin )
182- return nil
183181}
184182
185183// UpdateAccount sets the login for the Machine m.
186- func (m * Machine ) UpdateAccount (newaccount string ) error {
184+ func (m * Machine ) UpdateAccount (newaccount string ) {
187185 m .Account = newaccount
188186 updateTokenValue (m .accounttoken , newaccount )
189- return nil
190187}
191188
192189func updateTokenValue (t * token , value string ) {
You can’t perform that action at this time.
0 commit comments