Closed fullenw1 closed 4 years ago
Hi @fullenw1 - that is really strange. Using 10GB etc should work and passes the example compilation tests. See: https://ci.appveyor.com/project/PowerShell/StorageDsc/branch/dev?fullLog=true#L565
How are you compiling the examples?
Hi @PlagueHO
How are you compiling the examples?
As I got the error message, I spotted by dichotomy the size parameter. My intended value was different but I gave a try to 10GB like in the example (just copied/pasted the value) and got the same error. When I used 10737418240 (the size in bytes), the error message disappeared.
By the way I got the exact same behavior on another resource: https://github.com/PowerShell/ComputerManagementDsc/pull/278
I tried this as well yesterday and you're right - it is failing. Not sure how the Example tests are passing though. That is something I should look into. Anyway, let's proceed with this change.
Can you add an entry into the CHANGELOG.MD for this change?
Can you add an entry into the CHANGELOG.MD for this change?
Done! Please have a look. First time I do this on a DSC module...
Closing because superseded by #218
This Pull Request (PR) fixes the following issues
A value with a size unit (like MB or GB) does not work. It generates the following error message:
Entering only a number works fine.
Task list
This change is