Skip to content

Commit

Permalink
Policy asset association resource typo fix. (#347)
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandar-savchev-imperva authored Sep 10, 2023
1 parent 1e68114 commit 1cf4f39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion incapsula/resource_policy_asset_association.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func resourcePolicyAssetAssociationRead(d *schema.ResourceData, m interface{}) e

if !isAssociated {
log.Printf("[ERROR] Could not find Incapsula Policy Asset Association: %s-%s-%s\n", policyID, assetID, assetType)
return fmt.Errorf("Incapsula Policy Asset Association doesn't exisits: policy id:%s asset id:%s asset type:%s\n", policyID, assetID, assetType)
return fmt.Printf("Incapsula Policy Asset Association doesn't exisits: policy id:%s asset id:%s asset type:%s\n", policyID, assetID, assetType)

Check failure on line 96 in incapsula/resource_policy_asset_association.go

View workflow job for this annotation

GitHub Actions / Build

too many return values
}

log.Printf("[INFO] Successfully read Policy Asset Association exist: %s-%s-%s\n", policyID, assetID, assetType)
Expand Down

0 comments on commit 1cf4f39

Please sign in to comment.