Commit ff32f231 authored by Nick Thomas's avatar Nick Thomas

Replace yaml.v1 with yaml.v2

parent 57e93608
......@@ -12,7 +12,7 @@ import (
"github.com/codegangsta/cli"
"gitlab.com/ayufan/golang-cli-helpers"
"gitlab.com/gitlab-org/gitlab-ci-multi-runner/common"
"gopkg.in/yaml.v1"
"gopkg.in/yaml.v2"
// Force to load all executors, executes init() on them
_ "gitlab.com/gitlab-org/gitlab-ci-multi-runner/executors/docker"
......
......@@ -4,7 +4,7 @@ import (
"encoding/json"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"gopkg.in/yaml.v1"
"gopkg.in/yaml.v2"
"testing"
)
......
......@@ -4,7 +4,7 @@ import (
"bufio"
"bytes"
"github.com/BurntSushi/toml"
"gopkg.in/yaml.v1"
"gopkg.in/yaml.v2"
)
func ToYAML(src interface{}) string {
......
......@@ -3,7 +3,7 @@ package helpers
import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"gopkg.in/yaml.v1"
"gopkg.in/yaml.v2"
"reflect"
"testing"
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment