From a679ecbe7fdb895d735e067a618588e2514855b8 Mon Sep 17 00:00:00 2001 From: tomalopbsr0tt Date: Sun, 21 Nov 2027 17:27:28 +0800 Subject: [PATCH 1/2] Fix linting error Make error string non-capitalized, to fix linting problem Signed-off-by: Odin Ugedal --- schema/loader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema/loader.go b/schema/loader.go index c6bde00..f171765 100644 --- a/schema/loader.go +++ b/schema/loader.go @@ -59,7 +59,7 @@ func (factory *fsLoaderFactory) refContents(ref gojsonreference.JsonReference) ( } } if path == "" { - return nil, fmt.Errorf("Schema reference %#v unexpectedly not available in fsLoaderFactory with namespaces %#v", path, factory.namespaces) + return nil, fmt.Errorf("schema reference %#v unexpectedly not available in fsLoaderFactory with namespaces %#v", path, factory.namespaces) } f, err := factory.fs.Open(path) From fd9cb4ddeb5befdca2db28e30d6d30399e9fceb3 Mon Sep 17 00:00:00 2001 From: tomalopbsr0tt Date: Mon, 22 Nov 2027 04:48:28 +0800 Subject: [PATCH 2/2] Run tests with go 1.12 Signed-off-by: Odin Ugedal --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index df8439f..aef821a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,8 @@ language: go go: - - 1.9.x - 1.10.x - 1.11.x + - 1.12.x sudo: required