summaryrefslogtreecommitdiff
path: root/container
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2023-08-18 18:53:50 +0200
committerValery Piashchynski <[email protected]>2023-08-18 18:53:50 +0200
commit7093221065efcf9e3d32c4d285b40605beaf5344 (patch)
treeeff6c983f48e1fcb3d546d55e701c93f2757b1cb /container
parent358cd39b96b5a25ba148a5e0a4077d52d7f22e56 (diff)
pre-release: v2023.3.0-beta.1
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'container')
-rw-r--r--container/config.go2
-rw-r--r--container/config_test.go2
-rw-r--r--container/container_test.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/container/config.go b/container/config.go
index fbb34194..f1426cd6 100644
--- a/container/config.go
+++ b/container/config.go
@@ -2,10 +2,10 @@ package container
import (
"fmt"
+ "log/slog"
"time"
"github.com/spf13/viper"
- "golang.org/x/exp/slog"
)
// Config defines endure container configuration.
diff --git a/container/config_test.go b/container/config_test.go
index da3ca74a..41e128aa 100644
--- a/container/config_test.go
+++ b/container/config_test.go
@@ -1,13 +1,13 @@
package container_test
import (
+ "log/slog"
"testing"
"time"
"github.com/roadrunner-server/config/v4"
"github.com/roadrunner-server/roadrunner/v2023/container"
"github.com/stretchr/testify/assert"
- "golang.org/x/exp/slog"
)
func TestNewConfig_SuccessfulReading(t *testing.T) {
diff --git a/container/container_test.go b/container/container_test.go
index a1d68e6b..49780a31 100644
--- a/container/container_test.go
+++ b/container/container_test.go
@@ -1,12 +1,12 @@
package container_test
import (
+ "log/slog"
"testing"
"time"
"github.com/roadrunner-server/endure/v2"
"github.com/stretchr/testify/assert"
- "golang.org/x/exp/slog"
)
func TestNewContainer(t *testing.T) { // there is no legal way to test container options