chore: update linter.

This commit is contained in:
Ludovic Fernandez
2020-07-07 14:42:03 +02:00
committed by GitHub
parent d698eba1e7
commit a20e90aa17
91 changed files with 646 additions and 459 deletions

View File

@@ -168,7 +168,7 @@ func (s *ServiceInfo) AddError(err error, critical bool) {
// UpdateServerStatus sets the status of the server in the ServiceInfo.
// It is the responsibility of the caller to check that s is not nil.
func (s *ServiceInfo) UpdateServerStatus(server string, status string) {
func (s *ServiceInfo) UpdateServerStatus(server, status string) {
s.serverStatusMu.Lock()
defer s.serverStatusMu.Unlock()