plugin: Fix incorrect trace log message in provider Close

Was incorrectly printing out "PlanResourceChange" instead of "Close".
This commit is contained in:
Martin Atkins 2018-12-07 11:22:00 -08:00
parent f93f7e5b5c
commit 53926ea581

View File

@ -528,7 +528,7 @@ func (p *GRPCProvider) ReadDataSource(r providers.ReadDataSourceRequest) (resp p
// closing the grpc connection is final, and terraform will call it at the end of every phase.
func (p *GRPCProvider) Close() error {
log.Printf("[TRACE] GRPCProvider: PlanResourceChange")
log.Printf("[TRACE] GRPCProvider: Close")
// close the remote listener if we're running within a test
if p.TestListener != nil {