fix: syntax error and compile error
This commit is contained in:
parent
ed749df5c6
commit
3a76a50382
|
@ -34,7 +34,7 @@
|
|||
create_dry_run/2,
|
||||
remove/1,
|
||||
remove/2,
|
||||
remove/3,
|
||||
remove/4,
|
||||
update/2,
|
||||
update/3,
|
||||
stop/2,
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
batch_time => integer(),
|
||||
enable_queue => boolean(),
|
||||
queue_max_bytes => integer(),
|
||||
query_mode => async | sync | dynamic
|
||||
query_mode => async | sync | dynamic,
|
||||
resume_interval => integer(),
|
||||
async_inflight_window => integer()
|
||||
}.
|
||||
|
|
|
@ -295,7 +295,7 @@ fetch_creation_opts(Opts) ->
|
|||
resume_interval,
|
||||
async_inflight_window
|
||||
],
|
||||
maps:with(creation_opts(), SupportedOpts).
|
||||
maps:with(SupportedOpts, Opts).
|
||||
|
||||
-spec list_instances() -> [resource_id()].
|
||||
list_instances() ->
|
||||
|
|
|
@ -71,7 +71,9 @@ values(Protocol, post) ->
|
|||
<<"${topic},clientid=${clientid}", " ", "payload=${payload},",
|
||||
"${clientid}_int_value=${payload.int_key}i,", SupportUint/binary,
|
||||
"bool=${payload.bool}">>,
|
||||
batch => #{enable_batch => false, batch_size => 5, batch_time => <<"1m">>}
|
||||
enable_batch => false,
|
||||
batch_size => 5,
|
||||
batch_time => <<"1m">>
|
||||
};
|
||||
values(Protocol, put) ->
|
||||
values(Protocol, post).
|
||||
|
|
Loading…
Reference in New Issue