lint fixes

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2021-09-30 21:13:13 +03:00
parent 7b2e3cc8aa
commit 3247d144a8
14 changed files with 62 additions and 46 deletions

View File

@@ -48,7 +48,7 @@ func Verify(a auth.Auth) error {
}
// set the credentials and token in auth options
a.Init(
_ = a.Init(
auth.ClientToken(token),
auth.Credentials(accID, accSecret),
)
@@ -79,7 +79,7 @@ func Verify(a auth.Auth) error {
}
// set the token
a.Init(auth.ClientToken(tok))
_ = a.Init(auth.ClientToken(tok))
}
}()