forked from siemens/kas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dump: only sort keys if explicitly requested
The yaml and json formatter differed w.r.t sorting the keys during serialization (json kept the order, yaml sorted). As pointed out in siemens#118 the users expect to maintain the order of the keys. By that, we make this the new default and add an CLI option "--sort" to sort the output. Closes: siemens#118 Signed-off-by: Felix Moessbauer <[email protected]>
- Loading branch information
1 parent
ccba48d
commit bab6a3c
Showing
2 changed files
with
15 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters