ソースを参照

add tuple and comment for prior to OTP 18

pull/1789/head
Peter Saxton 7年前
committed by GitHub
コミット
1b02e78fae
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更2行の追加0行の削除
  1. +2
    -0
      priv/templates/sup.erl

+ 2
- 0
priv/templates/sup.erl ファイルの表示

@ -28,6 +28,8 @@ start_link() ->
%% Child :: #{id => Id, start => {M, F, A}}
%% Optional keys are restart, shutdown, type, modules.
%% Before OTP 18 tuples must be used to specify a child. e.g.
%% Child :: {Id,StartFunc,Restart,Shutdown,Type,Modules}
init([]) ->
{ok, { {one_for_all, 0, 1}, []} }.

読み込み中…
キャンセル
保存