rancher_environment: fix typo
This commit is contained in:
parent
1392670a69
commit
87b502d5cf
|
@ -107,7 +107,7 @@ func resourceRancherEnvironmentCreate(d *schema.ResourceData, meta interface{})
|
||||||
log.Printf("[INFO] Environment ID: %s", d.Id())
|
log.Printf("[INFO] Environment ID: %s", d.Id())
|
||||||
|
|
||||||
// Add members
|
// Add members
|
||||||
if v, ok := d.GetOk("members"); ok {
|
if v, ok := d.GetOk("member"); ok {
|
||||||
envClient, err := meta.(*Config).EnvironmentClient(d.Id())
|
envClient, err := meta.(*Config).EnvironmentClient(d.Id())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in New Issue