Skip to content

doc: fix property names in os.networkInterfaces() example - #1

Closed
hanityx wants to merge 1 commit into
mainfrom
doc-fix-os-networkinterfaces
Closed

doc: fix property names in os.networkInterfaces() example#1
hanityx wants to merge 1 commit into
mainfrom
doc-fix-os-networkinterfaces

Conversation

@hanityx

@hanityx hanityx commented Aug 21, 2026

Copy link
Copy Markdown
Owner

The os.networkInterfaces() JSON example has colons in the property names,
such as "lo:" and "address:". These don't match the names listed above or
what os.networkInterfaces() actually returns.

It looks like the colons came in when the example was converted from a
JavaScript object literal to JSON.

Signed-off-by: hanityx <hanityx@gmail.com>
@hanityx hanityx closed this Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant