provider/heroku: Output IDs on failure

This commit is contained in:
Justin Campbell 2017-05-01 10:20:28 -04:00
parent 3d4f1ba4f3
commit 02bb1e6907

View File

@ -77,7 +77,7 @@ func testAccCheckHerokuPipelineCouplingExists(n string, pipeline *heroku.Pipelin
} }
if foundPipelineCoupling.ID != rs.Primary.ID { if foundPipelineCoupling.ID != rs.Primary.ID {
return fmt.Errorf("PipelineCoupling not found") return fmt.Errorf("PipelineCoupling not found: %s != %s", foundPipelineCoupling.ID, rs.Primary.ID)
} }
*pipeline = *foundPipelineCoupling *pipeline = *foundPipelineCoupling