Project

General

Profile

Actions

Bug #13188

closed

[API] get rid of warning: Called 'load' without the safe option

Added by Ward Vandewege almost 7 years ago. Updated over 6 years ago.

Status:
Duplicate
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-

Description

The API server, when using our default configuration, prints this warning on every startup:

Called 'load' without the :safe option -- defaulting to safe mode.
You can avoid this warning in the future by setting the SafeYAML::OPTIONS[:default_mode] option (to :safe or :unsafe).

There should be no warnings when starting up the server and running rake tasks.


Related issues 1 (0 open1 closed)

Related to Arvados - Bug #12762: [API] fix SafeYAML warningResolvedLucas Di Pentima

Actions
Actions

Also available in: Atom PDF