api/v1: fix JSON struct tag misnomer
This commit is contained in:
parent
8df8170ba5
commit
ebd0170f5b
@ -32,7 +32,7 @@ import (
|
|||||||
var log = capnslog.NewPackageLogger("github.com/coreos/clair", "v1")
|
var log = capnslog.NewPackageLogger("github.com/coreos/clair", "v1")
|
||||||
|
|
||||||
type Error struct {
|
type Error struct {
|
||||||
Message string `json:"Layer"`
|
Message string `json:"Message,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Layer struct {
|
type Layer struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user