mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-11 22:10:11 +01:00
chore(go-lint): fix golint warning (#133)
Fixes several go lint cases reported by go report. Signed-off-by: wiwen <shenggxhz@gmail.com>
This commit is contained in:
parent
639ead416e
commit
f5ae3ff476
25 changed files with 78 additions and 51 deletions
|
|
@ -43,7 +43,7 @@ func (b *CreateVolumeResponseBuilder) WithName(name string) *CreateVolumeRespons
|
|||
return b
|
||||
}
|
||||
|
||||
// WithName sets the capacity against the
|
||||
// WithCapacity sets the capacity against the
|
||||
// CreateVolumeResponse instance
|
||||
func (b *CreateVolumeResponseBuilder) WithCapacity(capacity int64) *CreateVolumeResponseBuilder {
|
||||
b.response.Volume.CapacityBytes = capacity
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue