Skip to content

Commit

Permalink
Fix typo in struct name
Browse files Browse the repository at this point in the history
Coprocess and user session have differnt field names: Metadata vs
MetaData
  • Loading branch information
buger committed Oct 30, 2017
1 parent f98f4cc commit 302591b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coprocess_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func TykSessionState(session *coprocess.SessionState) *user.SessionState {
ApplyPolicyID: session.ApplyPolicyId,
ApplyPolicies: session.ApplyPolicies,
DataExpires: session.DataExpires,
Metadata: metadata,
MetaData: metadata,
Monitor: monitor,
EnableDetailedRecording: session.EnableDetailedRecording,
Tags: session.Tags,
Expand Down

0 comments on commit 302591b

Please sign in to comment.