Skip to content

Commit 1adb92a

Browse files
committed
fix: Fix container orchestration format validation issues
1 parent 3a1b9fe commit 1adb92a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

agent/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ require (
2424
github.com/go-redis/redis v6.15.9+incompatible
2525
github.com/go-resty/resty/v2 v2.16.5
2626
github.com/go-sql-driver/mysql v1.8.1
27-
github.com/goccy/go-yaml v1.9.8
2827
github.com/goh-chunlin/go-onedrive v1.1.1
2928
github.com/google/uuid v1.6.0
3029
github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674
@@ -141,6 +140,7 @@ require (
141140
github.com/go-playground/universal-translator v0.18.1 // indirect
142141
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
143142
github.com/goccy/go-json v0.10.5 // indirect
143+
github.com/goccy/go-yaml v1.9.8 // indirect
144144
github.com/gofrs/flock v0.13.0 // indirect
145145
github.com/gogo/protobuf v1.3.2 // indirect
146146
github.com/golang/protobuf v1.5.4 // indirect

agent/utils/compose/compose.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"github.com/1Panel-dev/1Panel/agent/utils/cmd"
1616
"github.com/1Panel-dev/1Panel/agent/utils/common"
1717
"github.com/1Panel-dev/1Panel/agent/utils/docker"
18-
"github.com/goccy/go-yaml"
18+
"gopkg.in/yaml.v3"
1919
)
2020

2121
func checkCmd() error {

0 commit comments

Comments
 (0)