* Fix: Handle empty nested keys on YAML provisioning datasources As we provision a datasource via a YAML file, we attempt to transform the file into sensible Go types that the provisioning code can use. While this happens, there is a chance some of the keys nested within the YAML array are empty. This fix allows the YAML parser to handle empty keys by null checking the return of `reflect.TypeOf` which according to the documentation: > TypeOf returns the reflection Type that represents the dynamic type of i. If i is a nil interface value, TypeOf returns nil. Can return nil. * Add tests
Name |
Last commit
|
Last Update |
---|---|---|
.circleci | Loading commit data... | |
.github | Loading commit data... | |
conf | Loading commit data... | |
devenv | Loading commit data... | |
docs | Loading commit data... | |
emails | Loading commit data... | |
packages | Loading commit data... | |
packaging | Loading commit data... | |
pkg | Loading commit data... | |
public | Loading commit data... | |
scripts | Loading commit data... | |
style_guides | Loading commit data... | |
tools/phantomjs | Loading commit data... | |
vendor | Loading commit data... | |
.babelrc | Loading commit data... | |
.bra.toml | Loading commit data... | |
.browserslistrc | Loading commit data... | |
.dockerignore | Loading commit data... | |
.editorconfig | Loading commit data... | |
.gitignore | Loading commit data... | |
.prettierignore | Loading commit data... | |
CHANGELOG.md | Loading commit data... | |
CODE_OF_CONDUCT.md | Loading commit data... | |
CONTRIBUTING.md | Loading commit data... | |
Dockerfile | Loading commit data... | |
Gruntfile.js | Loading commit data... | |
ISSUE_TRIAGE.md | Loading commit data... | |
LICENSE | Loading commit data... | |
Makefile | Loading commit data... | |
NOTICE.md | Loading commit data... | |
PLUGIN_DEV.md | Loading commit data... | |
README.md | Loading commit data... | |
ROADMAP.md | Loading commit data... | |
SECURITY.md | Loading commit data... | |
SUPPORT.md | Loading commit data... | |
UPGRADING_DEPENDENCIES.md | Loading commit data... | |
build.go | Loading commit data... | |
go.mod | Loading commit data... | |
go.sum | Loading commit data... | |
jest.config.e2e.js | Loading commit data... | |
jest.config.js | Loading commit data... | |
latest.json | Loading commit data... | |
lerna.json | Loading commit data... | |
package.json | Loading commit data... | |
tsconfig.json | Loading commit data... | |
tslint.json | Loading commit data... | |
yarn.lock | Loading commit data... |