Skip to content

Commit

Permalink
readInterface return if not exists
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremmfr committed Dec 17, 2019
1 parent e3c9d20 commit 46791d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions junos/resource_interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,7 @@ func resourceInterfaceRead(d *schema.ResourceData, m interface{}) error {
}
if !intExists {
d.SetId("")
return nil
}
interfaceOpt, err := readInterface(d.Get("name").(string), m, jnprSess)
mutex.Unlock()
Expand Down

0 comments on commit 46791d8

Please sign in to comment.