Gofmt snapjob.go

This commit is contained in:
InsanePrawn
2018-11-21 14:02:21 +01:00
parent 22d9830baa
commit d0f898751f
+1 -4
View File
@@ -26,15 +26,13 @@ type SnapJob struct {
pruner *pruner.Pruner
}
func (j *SnapJob) Name() string { return j.name }
func (j *SnapJob) getPruner(ctx context.Context, sender *endpoint.Sender) (*pruner.Pruner) {
func (j *SnapJob) getPruner(ctx context.Context, sender *endpoint.Sender) *pruner.Pruner {
p := j.prunerFactory.BuildSinglePruner(ctx, sender, sender)
return p
}
func (j *SnapJob) Type() Type { return TypeSnap }
func (j *SnapJob) RunPeriodic(ctx context.Context, wakeUpCommon chan<- struct{}) {
@@ -126,4 +124,3 @@ func (j *SnapJob) doPrune(ctx context.Context) {
j.pruner.Prune()
log.Info("finished pruning")
}