We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53e4f3e commit a88b4b2Copy full SHA for a88b4b2
1 file changed
ns1/resource_datafeed.go
@@ -77,7 +77,7 @@ func DataFeedRead(d *schema.ResourceData, meta interface{}) error {
77
f, resp, err := client.DataFeeds.Get(d.Get("source_id").(string), d.Id())
78
if err != nil {
79
// No custom error type is currently defined in the SDK for a data feed.
80
- if strings.Contains(err.Error(), "feed not found") {
+ if strings.Contains(err.Error(), "not found") {
81
log.Printf("[DEBUG] NS1 data source (%s) not found", d.Id())
82
d.SetId("")
83
return nil
0 commit comments