anchor.diff:  %% @private
   -spec get_openfaas_config() -> openfaas_config() | no_return().
   get_openfaas_config() ->
  -    try
  -        Host = op_worker:get_env(openfaas_host),
  -        Port = op_worker:get_env(openfaas_port),
  -
  -        AdminUsername = op_worker:get_env(openfaas_admin_username),
  -        AdminPassword = op_worker:get_env(openfaas_admin_password),
  -        Hash = base64:encode(str_utils:format_bin("~s:~s", [AdminUsername, AdminPassword])),
  -
  -        #openfaas_config{
  -            url = str_utils:format_bin("http://~s:~B", [Host, Port]),
  -            basic_auth = <<"Basic ", Hash/binary>>,
  -            function_namespace = str_utils:to_binary(op_worker:get_env(openfaas_function_namespace))
  -        }
  -    catch _:_ ->
  -        throw(?ERROR_ATM_OPENFAAS_NOT_CONFIGURED)
  -    end.
  +    Host = get_env(openfaas_host),
  +    Port = get_env(openfaas_port),
  +
  +    AdminUsername = get_env(openfaas_admin_username),
  +    AdminPassword = get_env(openfaas_admin_password),
  +    Hash = base64:encode(str_utils:format_bin("~s:~s", [AdminUsername, AdminPassword])),
  +
  +    #openfaas_config{
  +        url = str_utils:format_bin("http://~s:~B", [Host, Port]),
  +        basic_auth = <<"Basic ", Hash/binary>>,
  +        function_namespace = str_utils:to_binary(get_env(openfaas_function_namespace))
  +    }.
  +
  +
  +%% @private
  +-spec get_env(atom()) -> term() | no_return().
  +get_env(Key) ->
  +    case get_env(Key, undefined) of
  +        undefined -> throw(?ERROR_ATM_OPENFAAS_NOT_CONFIGURED);
  +        Value -> Value
  +    end.
  +
  +
  +%% @private
  +-spec get_env(atom(), term()) -> term().
  +get_env(Key, Default) ->
  +    op_worker:get_env(Key, Default).
   
   
   %% @private
  
positive.code:     AccessToken = atm_workflow_execution_ctx:get_access_token(AtmWorkflowExecutionCtx),
      {ok, OpDomain} = provider_logic:get_domain(),
  
      EnvSpecificOneclientOptions = str_utils:to_binary(op_worker:get_env(
          openfaas_oneclient_options, <<"">>
      )),
  
  
negative.code: %% @private
  -spec get_oneclient_image() -> binary().
  get_oneclient_image() ->
      case get_env(openfaas_oneclient_image, undefined) of
          undefined ->
              ReleaseVersion = op_worker:get_release_version(),
              <<"onedata/oneclient:", ReleaseVersion/binary>>;
  