瀏覽代碼

Use maps for child spec example

pull/1789/head
Peter Saxton 7 年之前
committed by GitHub
父節點
當前提交
6bcbbf7526
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      priv/templates/sup.erl

+ 2
- 1
priv/templates/sup.erl 查看文件

@ -26,7 +26,8 @@ start_link() ->
%% Supervisor callbacks
%%====================================================================
%% Child :: {Id,StartFunc,Restart,Shutdown,Type,Modules}
%% Child :: #{id => Id, start => {M, F, A}}
%% Optional keys are restart, shutdown, type, modules.
init([]) ->
{ok, { {one_for_all, 0, 1}, []} }.

Loading…
取消
儲存