Skip to content

Commit

Permalink
Merge pull request #190 from gustavosbarreto/rename_product_uid
Browse files Browse the repository at this point in the history
Rename product uid
  • Loading branch information
otavio authored Feb 23, 2018
2 parents df6f28c + 4559124 commit 5a47351
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 5a47351

Please sign in to comment.