Created
March 6, 2018 04:45
-
-
Save dustinlacewell-wk/27fc57ece966226029e1389ff052f5a5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
(ols-aws--make-tags '(("foo" . "bar") ("biz . "baz))) |
This file contains hidden or 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
(defun ols-aws--make-tags (tags) | |
(s-join ";" (cl-loop for (key value) on tags by 'cddr | |
collect (format "tag:%s=%s" key value)))) |
This file contains hidden or 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
"tag:(foo . bar)=(biz . baz)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment