Skip to content

Commit

Permalink
remove log of nil err
Browse files Browse the repository at this point in the history
  • Loading branch information
aastein authored Jul 9, 2018
1 parent 736f145 commit 117fe9d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion provider/grpc/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ func (s server) ServiceLogs(req *types.LogRequest, server types.Cluster_ServiceL
return types.ErrInternalError{Message: "internal error"}
}
if len(logs) == 0 {
s.log.Error(err.Error())
return types.ErrResourceNotFound{Message: "no logs for lease"}
}

Expand Down

0 comments on commit 117fe9d

Please sign in to comment.