Cleanup linter warnings

This commit is contained in:
Gabe Kangas
2021-07-19 23:37:06 -07:00
parent 4d64539b07
commit 44d6a36b77
8 changed files with 35 additions and 20 deletions

View File

@@ -128,7 +128,9 @@ func (yp *YP) ping() {
_inErrorState = false
if pingResponse.Key != key {
data.SetDirectoryRegistrationKey(key)
if err := data.SetDirectoryRegistrationKey(key); err != nil {
log.Errorln("unable to save directory key:", err)
}
}
}