fix sensor leaking memory in potentially long-running loops #452
Annotations
6 errors
test:
pkg/mondel/mondel.go#L56
(*github.com/sirupsen/logrus.Entry).Error call has possible formatting directive %v
|
test:
pkg/app/sensor/controlled/controlled_test.go#L34
cannot use func(ctx context.Context, cmd *command.StartMonitor, workDir string, artifactsDir string, mountPoint string, origPaths map[string]struct{}, signalCh <-chan os.Signal) (monitor.CompositeMonitor, error) {…} (value of type func(ctx context.Context, cmd *"github.com/docker-slim/docker-slim/pkg/ipc/command".StartMonitor, workDir string, artifactsDir string, mountPoint string, origPaths map[string]struct{}, signalCh <-chan os.Signal) ("github.com/docker-slim/docker-slim/pkg/app/sensor/monitor".CompositeMonitor, error)) as type "github.com/docker-slim/docker-slim/pkg/app/sensor/monitor".NewCompositeMonitorFunc in return statement
|
test:
pkg/app/sensor/controlled/controlled_test.go#L119
not enough arguments in call to controlled.NewSensor
|
test:
pkg/app/sensor/controlled/controlled_test.go#L139
not enough arguments in call to controlled.NewSensor
|
test:
pkg/app/sensor/controlled/controlled_test.go#L160
not enough arguments in call to controlled.NewSensor
|
test
Process completed with exit code 2.
|