Skip to content

Commit 1e60af2

Browse files
committed
Fix bad propertynames for Watch.Meta and Watch.Status in 2.x, relates to #2839
1 parent 8ab01af commit 1e60af2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Nest/XPack/Watcher/Watch.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Nest
66
[JsonObject]
77
public class Watch
88
{
9-
[JsonProperty("meta")]
9+
[JsonProperty("metadata")]
1010
public IDictionary<string, object> Meta { get; internal set; }
1111

1212
[JsonProperty("input")]
@@ -25,7 +25,7 @@ public class Watch
2525
[JsonConverter(typeof(ActionsJsonConverter))]
2626
public IDictionary<string, IAction> Actions { get; internal set; }
2727

28-
[JsonProperty("status")]
28+
[JsonProperty("_status")]
2929
public WatchStatus Status { get; internal set; }
3030

3131
[JsonProperty("throttle_period")]

0 commit comments

Comments
 (0)