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:
committed by
Stéphane Graber
parent
8e0fb7f714
commit
5e1bb54f4c
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user