簡體   English   中英

如何提升更具體的組規格?

[英]How to lift more specific group specs?

這是一個托盤( https://github.com/pallet )問題。 目前,我嘗試對電梯操作使用更具體的組規范。 我嘗試在小組中僅提升一個特定節點(例如,一個新節點):

(api/lift 
    {jira-group #{meissa-jira-large}} 
    :user my-user
    :compute provider
    :phase [:init])

如此處所述: http : //palletops.com/pallet/api/0.8/pallet.api.html#var-lift

但是不幸的是我得到了

"group-spec error: Map did not contain expected path [:group-name]."

更具體的組規范工作正常:

(api/lift 
    jira-group
    :user my-user
    :compute provider
    :phase [:init])

任何想法,我在做什么錯?

最好的問候,邁克爾

PS:jira-group定義如下:

(def ^:dynamic jira-group
  (api/group-spec
    "jira-group"
    :extends [(config/with-config meissa-config/config)
              init-pallet/with-init 
              hardening/with-hardening
              hosteurope/with-hosteurope
              jira/with-jira]
    )
  )
(api/lift 
    {:groups #{jira-group} :targets #{meissa-jira-large}}
    :user my-user
    :compute provider
    :phase [:init])

作品:-)

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM