1
0
mirror of https://github.com/lxc/incus.git synced 2026-02-05 09:46:19 +01:00

[lxd-import] shared/api: Fix lint errors (receiver-naming).

Signed-off-by: Mark Laing <mark.laing@canonical.com>
This commit is contained in:
Mark Laing
2024-02-02 15:08:06 +00:00
committed by Stéphane Graber
parent 8e0fb7f714
commit 5e1bb54f4c

View File

@@ -87,8 +87,8 @@ type Certificate struct {
} }
// Writable converts a full Certificate struct into a CertificatePut struct (filters read-only fields). // Writable converts a full Certificate struct into a CertificatePut struct (filters read-only fields).
func (cert *Certificate) Writable() CertificatePut { func (c *Certificate) Writable() CertificatePut {
return cert.CertificatePut return c.CertificatePut
} }
// URL returns the URL for the certificate. // URL returns the URL for the certificate.