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 ce5df0c commit 4c4da34Copy full SHA for 4c4da34
sumologic/data_source_sumologic_http_source.go
@@ -55,7 +55,7 @@ func dataSourceSumologicHTTPSourceRead(d *schema.ResourceData, meta interface{})
55
c := meta.(*Client)
56
57
id, _ := strconv.Atoi(d.Id())
58
- source, err := c.GetSourceName(d.Get("collector_id").(int64), d.Get("name").(string))
+ source, err := c.GetSourceName(int64(d.Get("collector_id").(int)), d.Get("name").(string))
59
60
if err != nil {
61
return err
0 commit comments