Closed Blankf closed 6 years ago
Thanks for sending is this PR! Really appreciate this! :smile:
Reviewed 3 of 3 files at r1. Review status: all files reviewed at latest revision, 5 unresolved discussions, some commit checks failed.
CHANGELOG.md, line 3 at r1 (raw file):
# Change log for xFailOverCluster ## Unreleased
Please fix lint errors in this README.md (tests are failing)
https://ci.appveyor.com/project/PowerShell/xfailovercluster/build/1.6.273.0#L374
CHANGELOG.md, line 5 at r1 (raw file):
server 2016 test failed on nodeandfilesharemajority if you used filesharemajority
Please make this more descriptive. What do you think of "When using NodeAndFileShareMajority on Windows Server 2016 any subsequent run failed when Test-TargetResource validated the configuration."?
README.md, line 183 at r1 (raw file):
NodeMajority. >Note: if you want to use FileShareWitness, use NodeAndFileShareMajority.
Please add the other two as well
NodeMajority = NoWitness NodeAndDiskMajority = DiskWitness
README.md, line 183 at r1 (raw file):
use NodeAndFileShareMajority
Maybe "..., use the option NodeAndFileShareMajority."?
DSCResources/MSFT_xClusterQuorum/MSFT_xClusterQuorum.psm1, line 42 at r1 (raw file):
$clusterQuorumType = 'NodeAndDiskMajority' } elseif ($getClusterQuorumResult.QuorumResource.ResourceType.DisplayName -eq 'File Share Witness' -or $getClusterQuorumResult.QuorumResource.ResourceType.DisplayName -eq 'File Share Quorum Witness')
Could you please write (add) a unit test for this change?
Comments from Reviewable
Hi Johlju,
Thank you for the review, you have a good point. changed the readme and changelog, need to take a look later at the tests.
Review status: 1 of 3 files reviewed at latest revision, 6 unresolved discussions.
README.md, line 185 at r3 (raw file):
>Note: if you want to use FileShareWitness, use the option NodeAndFileShareMajority. >Note: if you want to use DiskWitness, use the option NodeAndDiskMajority. >Note: if you want to use NoWitness, use the option NodeMajority.
Could you please revise these? If you look at the result here you see that they are concatenated, and 'Note:' is part of the paragraph. Maybe revise these so only one 'Note:' is needed.
Comments from Reviewable
Hi johlju,
can you help me out with the checks, i have looked at them a couple of times but cant seem to get them fixed.
@Blankf Sorry that I haven't answered you for so long! π Shall we try get this one over the finish line now? I can help you with the tests. Maybe you can resolve the review comments? If you don't have time then please check the 'Allow edit from maintainers' to the right here and I will get this one over the finish line,
Hi Johlju,
i would really appriciate if you can finish the PR. at this moment, i dont have any time to do the fixes.
i've ticked the box "Allow edits from maintainers."
Thank you.
@Blankf Sure I will get this over the finish line. Thanks for ticking the box. And thanks for contirbuting, hope I will see you back here again!
Reviewed 4 of 4 files at r5. Review status: all files reviewed at latest revision, all discussions resolved.
Comments from Reviewable
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks pending.
Comments from Reviewable
@Blankf So this one is over the finish line! Thanks for contribution this change, I hope I see you here again! π
Pull Request (PR) description
This Pull Request (PR) fixes the following issues: Fixes #35
Task list:
Previous PR-> https://github.com/PowerShell/xFailOverCluster/pull/141
This change isβ