parser(yaml): fix issues

Closes https://github.com/pterodactyl/panel/issues/4236
Closes https://github.com/pterodactyl/wings/pull/139
This commit is contained in:
Matthew Penner 2022-09-21 11:50:55 -06:00
parent 83861a6dec
commit ad26022c30
No known key found for this signature in database
GPG Key ID: 31311906AD4CF6D6
2 changed files with 2 additions and 2 deletions

2
go.mod
View File

@ -49,6 +49,7 @@ require (
github.com/go-co-op/gocron v1.15.0 github.com/go-co-op/gocron v1.15.0
github.com/goccy/go-json v0.9.6 github.com/goccy/go-json v0.9.6
github.com/klauspost/compress v1.15.1 github.com/klauspost/compress v1.15.1
gopkg.in/yaml.v3 v3.0.1
gorm.io/gorm v1.23.8 gorm.io/gorm v1.23.8
) )
@ -121,7 +122,6 @@ require (
google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb // indirect google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb // indirect
google.golang.org/grpc v1.45.0 // indirect google.golang.org/grpc v1.45.0 // indirect
google.golang.org/protobuf v1.28.0 // indirect google.golang.org/protobuf v1.28.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
modernc.org/libc v1.16.17 // indirect modernc.org/libc v1.16.17 // indirect
modernc.org/mathutil v1.4.1 // indirect modernc.org/mathutil v1.4.1 // indirect
modernc.org/memory v1.1.1 // indirect modernc.org/memory v1.1.1 // indirect

View File

@ -15,7 +15,7 @@ import (
"github.com/icza/dyno" "github.com/icza/dyno"
"github.com/magiconair/properties" "github.com/magiconair/properties"
"gopkg.in/ini.v1" "gopkg.in/ini.v1"
"gopkg.in/yaml.v2" "gopkg.in/yaml.v3"
"github.com/pterodactyl/wings/config" "github.com/pterodactyl/wings/config"
) )