Skip to content

Commit

Permalink
Declare TypeConfigurationModel as nullable.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrinaudo-aws committed Sep 23, 2023
1 parent eb7c6b1 commit aa5f502
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ abstract class BaseHookHandlerStd : BaseHookHandler<CallbackContext?, TypeConfig
request: HookHandlerRequest,
callbackContext: CallbackContext?,
logger: Logger,
typeConfiguration: TypeConfigurationModel
typeConfiguration: TypeConfigurationModel?
): ProgressEvent<HookTargetModel, CallbackContext?> {
val targetModel = request.hookContext.getTargetModel(AwsS3BucketTargetModel::class.java)
val resourceProperties = targetModel.resourceProperties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ open class PreCreateHookHandler : BaseHookHandlerStd() {
request: HookHandlerRequest,
callbackContext: CallbackContext?,
logger: Logger,
typeConfiguration: TypeConfigurationModel
typeConfiguration: TypeConfigurationModel?
): ProgressEvent<HookTargetModel, CallbackContext?> {
return handlePreCreatePreUpdateRequests(proxy, request, callbackContext, logger, typeConfiguration)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ open class PreUpdateHookHandler : BaseHookHandlerStd() {
request: HookHandlerRequest,
callbackContext: CallbackContext?,
logger: Logger,
typeConfiguration: TypeConfigurationModel
typeConfiguration: TypeConfigurationModel?
): ProgressEvent<HookTargetModel, CallbackContext?> {
return handlePreCreatePreUpdateRequests(proxy, request, callbackContext, logger, typeConfiguration)
}
Expand Down

0 comments on commit aa5f502

Please sign in to comment.