Skip to content
This repository was archived by the owner on Jun 15, 2024. It is now read-only.

Commit fc0af19

Browse files
committedFeb 5, 2017
Rename assoc-metadata to assoc-build-metadata to clarify what is meant once we also add step-metadata #138
1 parent 792b03a commit fc0af19

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎example/clj/todopipeline/steps.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
; Let's try out some custom metadata:
2121
(defn set-build-name [args ctx]
22-
(support/assoc-metadata! ctx :human-readable-build-label (build-label ctx))
22+
(support/assoc-build-metadata! ctx :human-readable-build-label (build-label ctx))
2323
{:status :success})
2424

2525
;; This step does nothing more than to delegate to a library-function.

‎src/clj/lambdacd/steps/support.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,5 +169,5 @@
169169
(execute-steps/unify-only-status unify-status-fn))
170170

171171

172-
(defn assoc-metadata! [ctx & kvs]
172+
(defn assoc-build-metadata! [ctx & kvs]
173173
(swap! (:build-metadata-atom ctx) #(apply assoc % kvs)))

0 commit comments

Comments
 (0)
This repository has been archived.