mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-28 10:18:51 +00:00
Remove typo s
This commit is contained in:
@@ -187,12 +187,12 @@ defmodule FzHttp.Devices do
|
||||
|
||||
defp persistent_keepalives_config(device) do
|
||||
pk = persistent_keepalives(device)
|
||||
pk && "PersistentKeepalives = #{pk}"
|
||||
pk && "PersistentKeepalive = #{pk}"
|
||||
|
||||
if is_nil(pk) do
|
||||
""
|
||||
else
|
||||
"PersistentKeepalives = #{pk}"
|
||||
"PersistentKeepalive = #{pk}"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -197,7 +197,7 @@ defmodule FzHttpWeb.DeviceLive.ShowTest do
|
||||
assert flash["info"] == "Device updated successfully."
|
||||
|
||||
{:ok, _view, html} = live(conn, path)
|
||||
assert html =~ "PersistentKeepalives = 120"
|
||||
assert html =~ "PersistentKeepalive = 120"
|
||||
end
|
||||
|
||||
test "prevents empty names", %{authed_conn: conn, device: device} do
|
||||
|
||||
Reference in New Issue
Block a user