From 6015cf2145cd4dbd312cd30d4904b65146dc6ab8 Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Fri, 13 Apr 2018 14:12:57 -0700 Subject: [PATCH] TRITON-323 Markdown syntax tweak in node-triton/CHANGES.md --- CHANGES.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 515622c..c630503 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -17,24 +17,27 @@ than 8.0.0 (mid 2016); for an older cloudapi endpoint, use node-triton 5.9.0. - [TRITON-167, TRITON-168] update support for `triton instance create --affinity=...`. It now fully supports regular expressions, tags and globs, and works across a wider variety of situations. + Examples: - An example of regular expressions: + ``` + # regular expressions triton instance create --affinity='instance!=/^production-db/' ... - An example of globs: + # globs triton instance create --affinity='instance!=production-db*' ... - And an example of tags: + # tags triton instance create --affinity='role!=db' + ``` See for more details how affinities work. However: - * Use of regular expressions requires a cloudapi version of 8.8.0 or later. - * 'inst' as a affinity shorthand no longer works. Use 'instance' instead. + - Use of regular expressions requires a cloudapi version of 8.8.0 or later. + - 'inst' as a affinity shorthand no longer works. Use 'instance' instead. E.g.: --affinity='instance==db1' instead of --affinity='inst==db1' - * The shorthand --affinity= no longer works. Use + - The shorthand --affinity= no longer works. Use --affinity='instance===' instead. ## 5.10.0