overwatch
overwatch copied to clipboard
[BUG] - ApiCallV2 tempSuccessPath must be defaulted
When tempSuccessPath is not provided it must be defaulted, not throw a null pointer. Same with accumulator. Back to why I hate you setting null defaults :P
def apply(apiEnv: ApiEnv, apiName: String, queryJsonString: String) = {
new ApiCallV2(apiEnv)
.buildApi(apiName)
.setQuery(queryJsonString)
}
Also -- why does this not return any results? The PAT is admin and the cluster has 3 events but result is emptyDF