Skip to content

Squelch jsonschema warning about DualStack config

Stan Hu requested to merge sh-squelch-dual-stack-jsonschema-warn into main

What does this MR do?

Previously this warning would be shown at startup:

jsonschema: '/runners/0/cache/s3/DualStack' does not validate with https://gitlab.com/gitlab-org/gitlab-runner/common/config#/$ref/properties/runners/items/$ref/properties/cache/$ref/properties/s3/$ref/properties/DualStack/type: expected boolean, but got null

The DualStack boolean parameter can be null so that we can enable it by default. Squelch this warning by adding a jsonschema annotation.

Edited by Stan Hu

Merge request reports

Loading