Skip to content

Commit 175947f

Browse files
committed
Port PR#824 to go-libvirt
1 parent 7b1c1a3 commit 175947f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libvirt/resource_libvirt_pool.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,9 @@ func resourceLibvirtPoolRead(d *schema.ResourceData, meta interface{}) error {
221221

222222
poolType := poolDef.Type
223223
if poolType == "" {
224-
log.Printf("Pool %s has no type specified", poolName)
224+
log.Printf("Pool %s has no type specified", pool.Name)
225225
} else {
226-
log.Printf("[DEBUG] Pool %s type: %s", poolName, poolType)
226+
log.Printf("[DEBUG] Pool %s type: %s", pool.Name, poolType)
227227
d.Set("type", poolType)
228228
}
229229

0 commit comments

Comments
 (0)