Skip to content

Commit

Permalink
Fixing types
Browse files Browse the repository at this point in the history
  • Loading branch information
ycombinator committed Apr 20, 2021
1 parent 30c3dc1 commit 2ea4e97
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ func ValidateKibanaObjectIDs(pkgRoot string) ve.ValidationErrors {
name := objectFile.Name()
objectID, err := objectFile.Values("$.id")
if err != nil {
return errors.Wrap(err, "unable to get Kibana object ID")
errs = append(errs, errors.Wrapf(err, "unable to get Kibana object ID in file '%s'", name))
continue
}

fileID := strings.TrimRight(name, ".json")
Expand Down

0 comments on commit 2ea4e97

Please sign in to comment.