File: 0001-use-yaml-v2.patch

package info (click to toggle)
golang-github-natefinch-lumberjack 1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 136 kB
  • ctags: 98
  • sloc: makefile: 2
file content (19 lines) | stat: -rw-r--r-- 677 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Use golang-yaml.v2 instead of unmaintained v1 version
 The v1 version of golang-yaml is not maintained any longer and in
 this case it's only required for running the unit tests.
Author: Tim Potter <tpot@hpe.com>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: golang-github-natefinch-lumberjack/lumberjack_test.go
===================================================================
--- golang-github-natefinch-lumberjack.orig/lumberjack_test.go
+++ golang-github-natefinch-lumberjack/lumberjack_test.go
@@ -10,7 +10,7 @@ import (
 	"time"
 
 	"github.com/BurntSushi/toml"
-	"gopkg.in/yaml.v1"
+	"gopkg.in/yaml.v2"
 )
 
 // !!!NOTE!!!