File: 0001-use-yaml.v2.patch

package info (click to toggle)
golang-github-coreos-pkg 3-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 320 kB
  • sloc: sh: 30; makefile: 3
file content (20 lines) | stat: -rw-r--r-- 654 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Use yaml.v2 library instead of yaml.v1
 The yaml.v1 library is unpackage, obsolete and can be replaced by
 yaml.v2 in most circumstances.
Author: Tim Potter <tpot@hpe.com>
Forwarded: No
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: golang-github-coreos-pkg/yamlutil/yaml.go
===================================================================
--- golang-github-coreos-pkg.orig/yamlutil/yaml.go
+++ golang-github-coreos-pkg/yamlutil/yaml.go
@@ -5,7 +5,7 @@ import (
 	"fmt"
 	"strings"
 
-	"gopkg.in/yaml.v1"
+	"gopkg.in/yaml.v2"
 )
 
 // SetFlagsFromYaml goes through all registered flags in the given flagset,