style guide on dashes vs underscores in cloud-init

Bug #1293254 reported by philips
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cloud-init
Fix Released
Low
Unassigned

Bug Description

Hello-

I am wanting to add some new fields to cloud-init and was wondering what the style guide is moving forward on dashes vs underscores. For example there is write_files but there is also ssh-authorized-keys. Which one is the preferred method?

I can submit docs on this once everyone has chimed in.

Thanks,

Brandon

Tags: docs
Revision history for this message
Joshua Harlow (harlowja) wrote :

I'm pretty sure its underscores, the dashes are legacy from what I remember.

Revision history for this message
Scott Moser (smoser) wrote :

lets say _ rather than -.

Changed in cloud-init:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
do3meli (d-info-e) wrote :
do3meli (d-info-e)
tags: added: docs
Revision history for this message
Joshua Powers (powersj) wrote :
Revision history for this message
Chad Smith (chad.smith) wrote : Fixed in cloud-init version 19.4.

This bug is believed to be fixed in cloud-init in version 19.4. If this is still a problem for you, please make a comment and set the state back to New

Thank you.

Changed in cloud-init:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers