provider/openstack: gophercloud migration: Spelling correction
This commit is contained in:
parent
28466f50a5
commit
520b3dda82
|
@ -169,7 +169,7 @@ func resourceBlockStorageVolumeV1Read(d *schema.ResourceData, meta interface{})
|
|||
return CheckDeleted(d, err, "volume")
|
||||
}
|
||||
|
||||
log.Printf("[DEBUG] Retreived volume %s: %+v", d.Id(), v)
|
||||
log.Printf("[DEBUG] Retrieved volume %s: %+v", d.Id(), v)
|
||||
|
||||
d.Set("size", v.Size)
|
||||
d.Set("description", v.Description)
|
||||
|
|
|
@ -181,7 +181,7 @@ func resourceBlockStorageVolumeV2Read(d *schema.ResourceData, meta interface{})
|
|||
return CheckDeleted(d, err, "volume")
|
||||
}
|
||||
|
||||
log.Printf("[DEBUG] Retreived volume %s: %+v", d.Id(), v)
|
||||
log.Printf("[DEBUG] Retrieved volume %s: %+v", d.Id(), v)
|
||||
|
||||
d.Set("size", v.Size)
|
||||
d.Set("description", v.Description)
|
||||
|
|
|
@ -495,7 +495,7 @@ func resourceComputeInstanceV2Read(d *schema.ResourceData, meta interface{}) err
|
|||
return CheckDeleted(d, err, "server")
|
||||
}
|
||||
|
||||
log.Printf("[DEBUG] Retreived Server %s: %+v", d.Id(), server)
|
||||
log.Printf("[DEBUG] Retrieved Server %s: %+v", d.Id(), server)
|
||||
|
||||
d.Set("name", server.Name)
|
||||
|
||||
|
|
|
@ -178,7 +178,7 @@ func resourceListenerV2Read(d *schema.ResourceData, meta interface{}) error {
|
|||
return CheckDeleted(d, err, "LBV2 listener")
|
||||
}
|
||||
|
||||
log.Printf("[DEBUG] Retreived OpenStack LBaaSV2 listener %s: %+v", d.Id(), listener)
|
||||
log.Printf("[DEBUG] Retrieved OpenStack LBaaSV2 listener %s: %+v", d.Id(), listener)
|
||||
|
||||
d.Set("id", listener.ID)
|
||||
d.Set("name", listener.Name)
|
||||
|
|
|
@ -138,7 +138,7 @@ func resourceLoadBalancerV2Read(d *schema.ResourceData, meta interface{}) error
|
|||
return CheckDeleted(d, err, "LoadBalancerV2")
|
||||
}
|
||||
|
||||
log.Printf("[DEBUG] Retreived OpenStack LoadBalancerV2 %s: %+v", d.Id(), lb)
|
||||
log.Printf("[DEBUG] Retrieved OpenStack LoadBalancerV2 %s: %+v", d.Id(), lb)
|
||||
|
||||
d.Set("name", lb.Name)
|
||||
d.Set("description", lb.Description)
|
||||
|
|
|
@ -130,7 +130,7 @@ func resourceLBMemberV1Read(d *schema.ResourceData, meta interface{}) error {
|
|||
return CheckDeleted(d, err, "LB member")
|
||||
}
|
||||
|
||||
log.Printf("[DEBUG] Retreived OpenStack LB member %s: %+v", d.Id(), m)
|
||||
log.Printf("[DEBUG] Retrieved OpenStack LB member %s: %+v", d.Id(), m)
|
||||
|
||||
d.Set("address", m.Address)
|
||||
d.Set("pool_id", m.PoolID)
|
||||
|
|
|
@ -156,7 +156,7 @@ func resourceMemberV2Read(d *schema.ResourceData, meta interface{}) error {
|
|||
return CheckDeleted(d, err, "LBV2 Member")
|
||||
}
|
||||
|
||||
log.Printf("[DEBUG] Retreived OpenStack LBaaSV2 Member %s: %+v", d.Id(), member)
|
||||
log.Printf("[DEBUG] Retrieved OpenStack LBaaSV2 Member %s: %+v", d.Id(), member)
|
||||
|
||||
d.Set("name", member.Name)
|
||||
d.Set("weight", member.Weight)
|
||||
|
|
|
@ -152,7 +152,7 @@ func resourceLBMonitorV1Read(d *schema.ResourceData, meta interface{}) error {
|
|||
return CheckDeleted(d, err, "LB monitor")
|
||||
}
|
||||
|
||||
log.Printf("[DEBUG] Retreived OpenStack LB Monitor %s: %+v", d.Id(), m)
|
||||
log.Printf("[DEBUG] Retrieved OpenStack LB Monitor %s: %+v", d.Id(), m)
|
||||
|
||||
d.Set("type", m.Type)
|
||||
d.Set("delay", m.Delay)
|
||||
|
|
|
@ -154,7 +154,7 @@ func resourceMonitorV2Read(d *schema.ResourceData, meta interface{}) error {
|
|||
return CheckDeleted(d, err, "LBV2 Monitor")
|
||||
}
|
||||
|
||||
log.Printf("[DEBUG] Retreived OpenStack LBaaSV2 Monitor %s: %+v", d.Id(), monitor)
|
||||
log.Printf("[DEBUG] Retrieved OpenStack LBaaSV2 Monitor %s: %+v", d.Id(), monitor)
|
||||
|
||||
d.Set("id", monitor.ID)
|
||||
d.Set("tenant_id", monitor.TenantID)
|
||||
|
|
|
@ -195,7 +195,7 @@ func resourceLBPoolV1Read(d *schema.ResourceData, meta interface{}) error {
|
|||
return CheckDeleted(d, err, "LB pool")
|
||||
}
|
||||
|
||||
log.Printf("[DEBUG] Retreived OpenStack LB Pool %s: %+v", d.Id(), p)
|
||||
log.Printf("[DEBUG] Retrieved OpenStack LB Pool %s: %+v", d.Id(), p)
|
||||
|
||||
d.Set("name", p.Name)
|
||||
d.Set("protocol", p.Protocol)
|
||||
|
|
|
@ -201,7 +201,7 @@ func resourcePoolV2Read(d *schema.ResourceData, meta interface{}) error {
|
|||
return CheckDeleted(d, err, "LBV2 Pool")
|
||||
}
|
||||
|
||||
log.Printf("[DEBUG] Retreived OpenStack LBaaSV2 Pool %s: %+v", d.Id(), pool)
|
||||
log.Printf("[DEBUG] Retrieved OpenStack LBaaSV2 Pool %s: %+v", d.Id(), pool)
|
||||
|
||||
d.Set("lb_method", pool.LBMethod)
|
||||
d.Set("protocol", pool.Protocol)
|
||||
|
|
|
@ -171,7 +171,7 @@ func resourceLBVipV1Read(d *schema.ResourceData, meta interface{}) error {
|
|||
return CheckDeleted(d, err, "LB VIP")
|
||||
}
|
||||
|
||||
log.Printf("[DEBUG] Retreived OpenStack LB VIP %s: %+v", d.Id(), p)
|
||||
log.Printf("[DEBUG] Retrieved OpenStack LB VIP %s: %+v", d.Id(), p)
|
||||
|
||||
d.Set("name", p.Name)
|
||||
d.Set("subnet_id", p.SubnetID)
|
||||
|
|
|
@ -132,7 +132,7 @@ func resourceNetworkingNetworkV2Read(d *schema.ResourceData, meta interface{}) e
|
|||
return CheckDeleted(d, err, "network")
|
||||
}
|
||||
|
||||
log.Printf("[DEBUG] Retreived Network %s: %+v", d.Id(), n)
|
||||
log.Printf("[DEBUG] Retrieved Network %s: %+v", d.Id(), n)
|
||||
|
||||
d.Set("name", n.Name)
|
||||
d.Set("admin_state_up", strconv.FormatBool(n.AdminStateUp))
|
||||
|
|
|
@ -175,7 +175,7 @@ func resourceNetworkingPortV2Read(d *schema.ResourceData, meta interface{}) erro
|
|||
return CheckDeleted(d, err, "port")
|
||||
}
|
||||
|
||||
log.Printf("[DEBUG] Retreived Port %s: %+v", d.Id(), p)
|
||||
log.Printf("[DEBUG] Retrieved Port %s: %+v", d.Id(), p)
|
||||
|
||||
d.Set("name", p.Name)
|
||||
d.Set("admin_state_up", p.AdminStateUp)
|
||||
|
|
|
@ -99,7 +99,7 @@ func resourceNetworkingRouterInterfaceV2Read(d *schema.ResourceData, meta interf
|
|||
return fmt.Errorf("Error retrieving OpenStack Neutron Router Interface: %s", err)
|
||||
}
|
||||
|
||||
log.Printf("[DEBUG] Retreived Router Interface %s: %+v", d.Id(), n)
|
||||
log.Printf("[DEBUG] Retrieved Router Interface %s: %+v", d.Id(), n)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
|
@ -137,7 +137,7 @@ func resourceNetworkingRouterV2Read(d *schema.ResourceData, meta interface{}) er
|
|||
return fmt.Errorf("Error retrieving OpenStack Neutron Router: %s", err)
|
||||
}
|
||||
|
||||
log.Printf("[DEBUG] Retreived Router %s: %+v", d.Id(), n)
|
||||
log.Printf("[DEBUG] Retrieved Router %s: %+v", d.Id(), n)
|
||||
|
||||
d.Set("name", n.Name)
|
||||
d.Set("admin_state_up", n.AdminStateUp)
|
||||
|
|
|
@ -198,7 +198,7 @@ func resourceNetworkingSubnetV2Read(d *schema.ResourceData, meta interface{}) er
|
|||
return CheckDeleted(d, err, "subnet")
|
||||
}
|
||||
|
||||
log.Printf("[DEBUG] Retreived Subnet %s: %+v", d.Id(), s)
|
||||
log.Printf("[DEBUG] Retrieved Subnet %s: %+v", d.Id(), s)
|
||||
|
||||
d.Set("network_id", s.NetworkID)
|
||||
d.Set("cidr", s.CIDR)
|
||||
|
|
Loading…
Reference in New Issue