Fix exported comments enforcer in CI
Add comments where missing and fix incorrect comments Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
@@ -395,6 +395,7 @@ func (p *PoolDevice) SuspendDevice(ctx context.Context, deviceName string) error
|
||||
return nil
|
||||
}
|
||||
|
||||
// ResumeDevice resumes IO for the given device
|
||||
func (p *PoolDevice) ResumeDevice(ctx context.Context, deviceName string) error {
|
||||
if err := p.transition(ctx, deviceName, Resuming, Resumed, func() error {
|
||||
return dmsetup.ResumeDevice(deviceName)
|
||||
|
||||
@@ -482,6 +482,7 @@ func (s *Snapshotter) withTransaction(ctx context.Context, writable bool, fn fun
|
||||
return nil
|
||||
}
|
||||
|
||||
// Cleanup cleans up all removed and unused resources
|
||||
func (s *Snapshotter) Cleanup(ctx context.Context) error {
|
||||
var removedDevices []*DeviceInfo
|
||||
|
||||
|
||||
Reference in New Issue
Block a user