This commit is contained in:
Felix Rodriguez 2015-05-07 14:21:37 -07:00 committed by Radek Simko
parent 44461f49fd
commit 60c3ca0430
1 changed files with 3 additions and 3 deletions

View File

@ -295,7 +295,7 @@ func resourceAwsDbInstanceCreate(d *schema.ResourceData, meta interface{}) error
} }
func resourceAwsDbInstanceRead(d *schema.ResourceData, meta interface{}) error { func resourceAwsDbInstanceRead(d *schema.ResourceData, meta interface{}) error {
v, err := resourceAwsBbInstanceRetrieve(d, meta) v, err := resourceAwsDbInstanceRetrieve(d, meta)
if err != nil { if err != nil {
return err return err
@ -516,7 +516,7 @@ func resourceAwsDbInstanceUpdate(d *schema.ResourceData, meta interface{}) error
return resourceAwsDbInstanceRead(d, meta) return resourceAwsDbInstanceRead(d, meta)
} }
func resourceAwsBbInstanceRetrieve( func resourceAwsDbInstanceRetrieve(
d *schema.ResourceData, meta interface{}) (*rds.DBInstance, error) { d *schema.ResourceData, meta interface{}) (*rds.DBInstance, error) {
conn := meta.(*AWSClient).rdsconn conn := meta.(*AWSClient).rdsconn
@ -549,7 +549,7 @@ func resourceAwsBbInstanceRetrieve(
func resourceAwsDbInstanceStateRefreshFunc( func resourceAwsDbInstanceStateRefreshFunc(
d *schema.ResourceData, meta interface{}) resource.StateRefreshFunc { d *schema.ResourceData, meta interface{}) resource.StateRefreshFunc {
return func() (interface{}, string, error) { return func() (interface{}, string, error) {
v, err := resourceAwsBbInstanceRetrieve(d, meta) v, err := resourceAwsDbInstanceRetrieve(d, meta)
if err != nil { if err != nil {
log.Printf("Error on retrieving DB Instance when waiting: %s", err) log.Printf("Error on retrieving DB Instance when waiting: %s", err)