Skip to content

Comments

Update comments to reflect the code - binary data is required.#7364

Merged
daxian-dbw merged 1 commit intoPowerShell:masterfrom
dantraMSFT:dantra/issue7362
Jul 25, 2018
Merged

Update comments to reflect the code - binary data is required.#7364
daxian-dbw merged 1 commit intoPowerShell:masterfrom
dantraMSFT:dantra/issue7362

Conversation

@dantraMSFT
Copy link
Contributor

PR Summary

Fix: #7362

WSManReceiveDataResult.Unmarshal was incorrectly commented as requiring only text formatted data. In fact, it requires binary formatted data.

Both the method comment and the Dbg.Assert message have been updated. This change updates the text to avoid confusion reading the code.

Note the related issue in PSRP/Linux (PowerShell/psl-omi-provider#121)

PR Checklist

@dantraMSFT dantraMSFT requested a review from mirichmo as a code owner July 25, 2018 21:52
@daxian-dbw daxian-dbw self-assigned this Jul 25, 2018
@daxian-dbw daxian-dbw merged commit 1583318 into PowerShell:master Jul 25, 2018
@dantraMSFT dantraMSFT deleted the dantra/issue7362 branch August 22, 2018 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WSManReceiveDataResult.UnMarshal comments are incorrect - it expects binary not text data

3 participants