getSortedKeysFromMap returns the keys from m in increasing order.
(m map[string]string)
| 667 | |
| 668 | // getSortedKeysFromMap returns the keys from m in increasing order. |
| 669 | func getSortedKeysFromMap(m map[string]string) (keys []string) { |
| 670 | for k := range m { |
| 671 | keys = append(keys, k) |
| 672 | } |
| 673 | sort.Strings(keys) |
| 674 | return keys |
| 675 | } |
| 676 | |
| 677 | // WithAsyncTimeout takes a custom timeout to be used by the CloudStackClient |
| 678 | func WithAsyncTimeout(timeout int64) ClientOption { |
no outgoing calls
no test coverage detected