Skip to content

Commit

Permalink
metadata: rename product-uid to product
Browse files Browse the repository at this point in the history
Signed-off-by: Luis Gustavo S. Barreto <gustavo@ossystems.com.br>
  • Loading branch information
gustavosbarreto committed Feb 23, 2018
1 parent aab6c17 commit 53a4bbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ func TestProbeUpdateWithUpdateAvailable(t *testing.T) {
_ = &imxkobs.ImxKobsObject{}

expectedBody := `{
"product-uid": "0123456789",
"product": "0123456789",
"objects": [
[
{
Expand Down
2 changes: 1 addition & 1 deletion metadata/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
const UpdateMetadataFilename = "updatemetadata.json"

type UpdateMetadata struct {
ProductUID string `json:"product-uid"`
ProductUID string `json:"product"`
Version string `json:"version"`
Objects [][]Object `json:"-"`
SupportedHardware interface{} `json:"supported-hardware"`
Expand Down

0 comments on commit 53a4bbd

Please sign in to comment.