Skip to content

Commit 4b92b73

Browse files
authored
Fix typo in Json unmarshaling (#3582)
Signed-off-by: Marc Khouzam <[email protected]>
1 parent 72b358b commit 4b92b73

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

actor/v7action/target_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ var _ = Describe("Targeting", func() {
5353
var meta struct {
5454
Version string `json:"version"`
5555
HostKeyFingerprint string `json:"host_key_fingerprint"`
56-
OAuthClient string `json:"oath_client"`
56+
OAuthClient string `json:"oauth_client"`
5757
}
5858
meta.Version = expectedAPIVersion
5959

api/cloudcontroller/ccv3/root_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ var _ = Describe("Root endpoints", func() {
7171
"href": "ssh.bosh-lite.com:2222",
7272
"meta": {
7373
"host_key_fingerprint": "some-fingerprint",
74-
"oath_client": "some-client"
74+
"oauth_client": "some-client"
7575
}
7676
}
7777
}

resources/api_links_resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ type APILinkMeta struct {
2020
HostKeyFingerprint string `json:"host_key_fingerprint"`
2121

2222
// Identifier for UAA queries
23-
OAuthClient string `json:"oath_client"`
23+
OAuthClient string `json:"oauth_client"`
2424
}
2525

2626
// APILinks is a directory of follow-up urls for the resource.

0 commit comments

Comments
 (0)