     systemd_unit = if unit == nil do
       systemd_unit
     else
-      %{systemd_unit |
-        name: unit.name,
-        options: unit.options,
-        desiredState: unit.desiredState,
-        currentState: unit.currentState,
-        machineID: unit.machineID,
+      %{systemd_unit | name:         unit.name,
+                       options:      unit.options,
+                       desiredState: unit.desiredState,
+                       currentState: unit.currentState,
+                       machineID:    unit.machineID,
       }
     end
 
     systemd_unit = if unit_state == nil do
       systemd_unit
     else
-      systemd_unit = %{systemd_unit |
-        systemdLoadState: unit_state.systemdLoadState,
-        systemdActiveState: unit_state.systemdActiveState,
-        systemdSubState: unit_state.systemdSubState
+      systemd_unit = %{systemd_unit | systemdLoadState:   unit_state.systemdLoadState,
+                                      systemdActiveState: unit_state.systemdActiveState,
+                                      systemdSubState:    unit_state.systemdSubState
       }
 
       systemd_unit = if systemd_unit.name == nil do

  def is_active?(unit) do
    case unit.systemdActiveState do
      "active" -> true
      _ -> {false, unit.systemdActiveState, unit.systemdLoadState, unit.systemdSubState}
    end
  end


    Logger.debug("Retrieving unit #{unit_name} on cluster #{etcd_token}...")
    api = get_fleet_api(etcd_token)
    unit = case FleetApi.Etcd.get_unit(api, unit_name) do
      {:ok, unit}      -> unit
      {:error, reason} ->
        Logger.error("Failed to retrieve unit #{unit_name} on cluster #{etcd_token}:  #{inspect reason}")
        nil
