Merge pull request #1761 from hashicorp/d-provider-code-block-style

docs: Fix styling in provider code block
This commit is contained in:
Mitchell Hashimoto 2015-04-30 13:18:41 -07:00
commit 5d2f735604
1 changed files with 2 additions and 2 deletions

View File

@ -202,7 +202,7 @@ subsequent `terraform apply` fixes this resource.
Most of the time, partial state is not required. When it is, it must be
specifically enabled. An example is shown below:
<pre class="prettyprint">
```
func resourceUpdate(d *schema.ResourceData, meta interface{}) error {
// Enable partial state mode
d.Partial(true)
@ -230,7 +230,7 @@ func resourceUpdate(d *schema.ResourceData, meta interface{}) error {
return nil
}
</pre>
```
In the example above, it is possible that setting the `tags` succeeds,
but setting the `name` fails. In this scenario, we want to make sure