Skip to content

Instantly share code, notes, and snippets.

@dustinlacewell-wk
Created March 6, 2018 04:45
Show Gist options
  • Save dustinlacewell-wk/27fc57ece966226029e1389ff052f5a5 to your computer and use it in GitHub Desktop.
Save dustinlacewell-wk/27fc57ece966226029e1389ff052f5a5 to your computer and use it in GitHub Desktop.
(ols-aws--make-tags '(("foo" . "bar") ("biz . "baz)))
(defun ols-aws--make-tags (tags)
(s-join ";" (cl-loop for (key value) on tags by 'cddr
collect (format "tag:%s=%s" key value))))
"tag:(foo . bar)=(biz . baz)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment