- Notifications
You must be signed in to change notification settings - Fork3
Commite5afa40
authored
fix: use server computed org display name (#183)
I picked up on this reviewing#182, but it's a mistake I made whenreviewing the resource originally 😓There's a minor inconsistency between display names on orgs and someother resources with display names on `coderd`. i.e. for organizations:```if req.DisplayName == "" {req.DisplayName = req.Name}```For some other resources, e.g. users & groups, an empty string displayname is retained, and the CLI/Web UI just shows the actual name if thedisplay name is empty. For those, it's okay to have an empty stringdefault in the provider.1 parented8270c commite5afa40
File tree
2 files changed
+23
-1
lines changed- internal/provider
2 files changed
+23
-1
lines changedLines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
121 | 121 |
| |
122 | 122 |
| |
123 | 123 |
| |
124 |
| - | |
125 | 124 |
| |
126 | 125 |
| |
127 | 126 |
| |
|
Lines changed: 23 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
121 | 121 |
| |
122 | 122 |
| |
123 | 123 |
| |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
124 | 147 |
| |
125 | 148 |
| |
126 | 149 |
| |
|
0 commit comments
Comments
(0)