1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00

go: align used yaml package (#1504)

This commit is contained in:
Oliver Nocon 2020-05-05 15:54:50 +02:00 committed by GitHub
parent 669dc91688
commit 033ff8da6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -16,7 +16,7 @@ import (
"github.com/SAP/jenkins-library/pkg/maven"
"github.com/SAP/jenkins-library/pkg/piperutils"
"github.com/SAP/jenkins-library/pkg/telemetry"
"gopkg.in/yaml.v2"
"github.com/ghodss/yaml"
)
const templateMtaYml = `_schema-version: "3.1"

View File

@ -1,14 +1,15 @@
package cmd
import (
"os"
"testing"
piperhttp "github.com/SAP/jenkins-library/pkg/http"
"github.com/SAP/jenkins-library/pkg/maven"
"github.com/SAP/jenkins-library/pkg/mock"
"github.com/SAP/jenkins-library/pkg/piperutils"
"github.com/ghodss/yaml"
"github.com/stretchr/testify/assert"
"gopkg.in/yaml.v2"
"os"
"testing"
)
func TestMarBuild(t *testing.T) {

1
go.mod
View File

@ -34,5 +34,4 @@ require (
google.golang.org/genproto v0.0.0-20200417142217-fb6d0575620b // indirect
google.golang.org/grpc v1.28.1 // indirect
gopkg.in/ini.v1 v1.55.0
gopkg.in/yaml.v2 v2.2.8
)