cmd/approve-list-svc/config.go
Method Config.GetPrivateKey
has 5 return statements (exceeds 4 allowed). Open
Open
func (conf *Config) GetPrivateKey() (crypt.PrivateKey, error) {
var keyData []byte
if conf.PrivateKey != "" {
if priv, err := crypt.ParsePrivateKey([]byte(conf.PrivateKey)); err == nil {
return priv, nil