summaryrefslogtreecommitdiffstats
path: root/src/go/plugin/go.d/agent/jobmgr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-11-25 17:33:56 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-11-25 17:34:10 +0000
commit83ba6762cc43d9db581b979bb5e3445669e46cc2 (patch)
tree2e69833b43f791ed253a7a20318b767ebe56cdb8 /src/go/plugin/go.d/agent/jobmgr
parentReleasing debian version 1.47.5-1. (diff)
downloadnetdata-83ba6762cc43d9db581b979bb5e3445669e46cc2.tar.xz
netdata-83ba6762cc43d9db581b979bb5e3445669e46cc2.zip
Merging upstream version 2.0.3+dfsg (Closes: #923993, #1042533, #1045145).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/go/plugin/go.d/agent/jobmgr')
-rw-r--r--src/go/plugin/go.d/agent/jobmgr/manager.go6
-rw-r--r--src/go/plugin/go.d/agent/jobmgr/sim_test.go5
2 files changed, 6 insertions, 5 deletions
diff --git a/src/go/plugin/go.d/agent/jobmgr/manager.go b/src/go/plugin/go.d/agent/jobmgr/manager.go
index 59947be77..b2ba7a2c7 100644
--- a/src/go/plugin/go.d/agent/jobmgr/manager.go
+++ b/src/go/plugin/go.d/agent/jobmgr/manager.go
@@ -12,12 +12,12 @@ import (
"time"
"github.com/netdata/netdata/go/plugins/logger"
+ "github.com/netdata/netdata/go/plugins/pkg/netdataapi"
+ "github.com/netdata/netdata/go/plugins/pkg/safewriter"
+ "github.com/netdata/netdata/go/plugins/pkg/ticker"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/confgroup"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/functions"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
- "github.com/netdata/netdata/go/plugins/plugin/go.d/agent/netdataapi"
- "github.com/netdata/netdata/go/plugins/plugin/go.d/agent/safewriter"
- "github.com/netdata/netdata/go/plugins/plugin/go.d/agent/ticker"
"github.com/mattn/go-isatty"
"gopkg.in/yaml.v2"
diff --git a/src/go/plugin/go.d/agent/jobmgr/sim_test.go b/src/go/plugin/go.d/agent/jobmgr/sim_test.go
index 9fe67175a..63369c33f 100644
--- a/src/go/plugin/go.d/agent/jobmgr/sim_test.go
+++ b/src/go/plugin/go.d/agent/jobmgr/sim_test.go
@@ -10,10 +10,11 @@ import (
"testing"
"time"
+ "github.com/netdata/netdata/go/plugins/pkg/netdataapi"
+ "github.com/netdata/netdata/go/plugins/pkg/safewriter"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/confgroup"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
- "github.com/netdata/netdata/go/plugins/plugin/go.d/agent/netdataapi"
- "github.com/netdata/netdata/go/plugins/plugin/go.d/agent/safewriter"
+
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)