srl-labs / containerlab

Unused method receiver RVV-B0013
Bug risk
17 days ago2 years old
Method receiver 'ca' is not referenced in method's body, consider removing it
 51// GenerateCACert generates a CA certificate, key and CSR based on the provided input.
 52func (ca *CA) GenerateCACert(input *CACSRInput) (*Certificate, error) { 53	// prepare the certificate template
 54	certTemplate := &x509.Certificate{
 55		SerialNumber: big.NewInt(2019),