Project

General

Profile

Actions

Bug #13188

closed

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

Added by Ward Vandewege about 6 years ago. Updated over 5 years ago.

Status:
Duplicate
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
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

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

Also available in: Atom PDF