Skip to content

Commit ffed47c

Browse files
CopilotWardenGnaw
andcommitted
Docker 'Platform' returns an object instead of a string in Docker Desktop v4.42.0 (#1505)
* Add JsonIgnore attribute to Platform property to prevent deserialization Co-authored-by: WardenGnaw <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: WardenGnaw <[email protected]>
1 parent cb12caa commit ffed47c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/SSHDebugPS/Docker/DockerContainerInstance.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ private DockerContainerInstance() { }
6262
[JsonProperty("CreatedAt")]
6363
public string Created { get; private set; }
6464

65+
[JsonIgnore]
6566
public string Platform { get; set; }
6667

6768
#endregion

0 commit comments

Comments
 (0)