We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 280cf65 + bde8aa7 commit 473ea28Copy full SHA for 473ea28
1 file changed
README.md
@@ -349,7 +349,7 @@ print(new_record)
349
350
### Update a domain record
351
352
-This example shows how to create new domain record (sub.example.com):
+This example shows how to modify an existing domain record (sub.example.com):
353
354
```python
355
import digitalocean
@@ -358,7 +358,7 @@ domain = digitalocean.Domain(token=TOKEN, name="example.com")
358
records = domain.get_records()
359
id = None
360
for r in records:
361
- if r.name == 'usb':
+ if r.name == 'sub':
362
r.data = '1.1.1.1'
363
r.save()
364
```
0 commit comments