Lint code

This commit is contained in:
Manuel de Brito Fontes 2017-07-26 23:07:59 -04:00
parent a56dd7cc38
commit 681ca36b1c
10 changed files with 21 additions and 2 deletions

View file

@ -52,6 +52,7 @@ type AuthSSLCert struct {
PemSHA string `json:"pemSha"`
}
// Equal tests for equality between two AuthSSLCert types
func (asslc1 *AuthSSLCert) Equal(assl2 *AuthSSLCert) bool {
if asslc1.Secret != assl2.Secret {
return false