From 156e327b5f88825828d00990a13857f4b855eb6d Mon Sep 17 00:00:00 2001 From: Connor Rigby Date: Fri, 2 Feb 2018 09:54:12 -0800 Subject: [PATCH] Fix typos --- lib/farmbot/system/config_storage/network_interface.ex | 2 +- nerves/target/network.ex | 2 +- .../20180202171932_add_network_interface_deprication.exs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/farmbot/system/config_storage/network_interface.ex b/lib/farmbot/system/config_storage/network_interface.ex index f94b9474..270775b5 100644 --- a/lib/farmbot/system/config_storage/network_interface.ex +++ b/lib/farmbot/system/config_storage/network_interface.ex @@ -15,7 +15,7 @@ defmodule Farmbot.System.ConfigStorage.NetworkInterface do field(:security, :string) field(:ipv4_method, :string) - field(:migrated, :bool) + field(:migrated, :boolean) end @required_fields [:name, :type] diff --git a/nerves/target/network.ex b/nerves/target/network.ex index ad9ee5e8..038b7e79 100644 --- a/nerves/target/network.ex +++ b/nerves/target/network.ex @@ -2,7 +2,7 @@ defmodule Farmbot.Target.Network do @moduledoc "Bring up network." @behaviour Farmbot.System.Init - alias Farmbot.System.ConfigStorage + alias Farmbot.System.GlobalConfig alias GlobalConfig.NetworkInterface alias Farmbot.Target.Network.Manager, as: NetworkManager use Supervisor diff --git a/priv/config_storage/migrations/20180202171932_add_network_interface_deprication.exs b/priv/config_storage/migrations/20180202171932_add_network_interface_deprication.exs index 19cd7dae..3fa10068 100644 --- a/priv/config_storage/migrations/20180202171932_add_network_interface_deprication.exs +++ b/priv/config_storage/migrations/20180202171932_add_network_interface_deprication.exs @@ -2,8 +2,8 @@ defmodule Farmbot.System.ConfigStorage.Migrations.AddNetworkInterfaceDeprication use Ecto.Migration def change do - change table(:network_interface) do - add(:migrated, :bool) + alter table(:network_interface) do + add(:migrated, :boolean) end end end