Skip to content

Commit 4693833

Browse files
committed
Fix typo in Json unmarshaling
Signed-off-by: Marc Khouzam <[email protected]>
1 parent 72b358b commit 4693833

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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)