This repository was archived by the owner on Nov 9, 2020. It is now read-only.
Commit 51fc34d
committed
Fix vsan datastore affinity parse error
VSAN datastore id contains ':', e.g. vsan:5702b3e6ff547cfa-d912ecf4bbdc5db0.
So an affinity string may contain more than 2 ':'s.
To handle this case, we need to tell Split method to only split at the first ':'.
Affinity kind should never contain ':', but the id may.
Change-Id: I7206db322d1322e9a62a010986897c508893ced81 parent 2ce7735 commit 51fc34d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
0 commit comments