overwatch icon indicating copy to clipboard operation
overwatch copied to clipboard

[BUG] - ApiCallV2 tempSuccessPath must be defaulted

Open GeekSheikh opened this issue 2 years ago • 1 comments

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)
  }

image

image

GeekSheikh avatar Oct 07 '22 18:10 GeekSheikh

Also -- why does this not return any results? The PAT is admin and the cluster has 3 events but result is emptyDF

image

GeekSheikh avatar Oct 07 '22 18:10 GeekSheikh