Skip to content

Commit 7d8f2d0

Browse files
committed
add comment
1 parent c13ce53 commit 7d8f2d0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cli/create.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ func (r *RootCmd) create() *serpent.Command {
109109

110110
templateNames := make([]string, 0, len(templates))
111111
templateByName := make(map[string]codersdk.Template, len(templates))
112+
113+
// If more than 1 organization exists in the list of templates,
114+
// then include the organization name in the select options.
112115
uniqueOrganizations := make(map[uuid.UUID]bool)
113116
for _, template := range templates {
114117
uniqueOrganizations[template.OrganizationID] = true

0 commit comments

Comments
 (0)