api/v1: fix JSON struct tag misnomer

This commit is contained in:
Jimmy Zelinskie 2017-01-03 15:59:51 -05:00
parent 8df8170ba5
commit ebd0170f5b

View File

@ -32,7 +32,7 @@ import (
var log = capnslog.NewPackageLogger("github.com/coreos/clair", "v1")
type Error struct {
Message string `json:"Layer"`
Message string `json:"Message,omitempty"`
}
type Layer struct {