anchor.diff:  -define(BEAMWHALE_DIR, beamwhale:determine_beamwhale_dir()).
   
   -record(docker_auth, {access_token, expires_in, issued_at, token}).
  +
   %%====================================================================
   %% API functions
   %%====================================================================
  
positive.code:     lager:info("HTTP GET: ~p", [?DOCKER_REGISTRY ++ Endpoint]),
      httpc:request(get,
                    {?DOCKER_REGISTRY ++ Endpoint, 
                     [{"Authorization", "Bearer " ++ binary_to_list(DockerAuth#docker_auth.token)}, {"Accept", ?DOCKER_REGISTRY_MANIFEST_SCHEME}]}, [], Options).
  
  h_get_docker_auth(Name)->    
      Url = ?DOCKER_AUTH_API ++":" ++ Name ++":pull",
  
negative.code:     ManifestResponseCode = response_http_status(ManifestResponse),
      if
          ManifestResponseCode =/= 200 -> lager:error("Could not retrieve the manifest of the image you are looking for: ~p", [ManifestResponseCode]);
          true ->  retrieve_image(Name, Tag, list_to_binary(response_body(ManifestResponse)), DockerAuth)
      end.
  
  pull(Name) ->
  