diff --git a/contentful/resource_contentful_asset.go b/contentful/resource_contentful_asset.go index 71e57e4..af34fd9 100644 --- a/contentful/resource_contentful_asset.go +++ b/contentful/resource_contentful_asset.go @@ -306,9 +306,7 @@ func setAssetState(d *schema.ResourceData, m interface{}) (err error) { err = client.Assets.Unarchive(spaceID, asset) } - if err := setAssetProperties(d, asset); err != nil { - return err - } + err = setAssetProperties(d, asset) return err }