-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disk: Update Size value in example #214
Conversation
A value with a size unit (like MB or GB) does not work. It generates the following error message: Compilation errors occurred while processing configuration 'DscConfigurationName'. Please review the errors reported in error stream and modify your configuration code appropriately. + CategoryInfo : InvalidOperation: (DscConfiguration:String) [], InvalidOperationException + FullyQualifiedErrorId : FailToProcessConfiguration Entering only a number works fine.
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
As I got the error message, I spotted by dichotomy the size parameter. By the way I got the exact same behavior on another resource: |
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? |
Done! |
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
Entry should say what was changed, and how that affects users (if applicable).
and comment-based help.
This change is