Fix up gocritic issues
This commit is contained in:
parent
2ee68e74ac
commit
14c4e61660
9 changed files with 72 additions and 56 deletions
|
@ -59,7 +59,7 @@ func (a *Accountant) RegisterAccount(name string) (acc Account, err error) {
|
|||
}
|
||||
|
||||
// AssignRover assigns rover ownership of an rover to an account
|
||||
func (a *Accountant) AssignRover(account uuid.UUID, rover uuid.UUID) error {
|
||||
func (a *Accountant) AssignRover(account, rover uuid.UUID) error {
|
||||
|
||||
// Find the account matching the ID
|
||||
if this, ok := a.Accounts[account]; ok {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue