diff options
| author | Jeff Carr <[email protected]> | 2024-10-23 00:24:09 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-23 00:24:09 -0500 |
| commit | 7cff6fef316f4a9cf9f256e1e5e8739197de78dc (patch) | |
| tree | b0cbf2e842bd4122468e0afb696f097ec8323750 /helpers.go | |
| parent | 2eff11bb2167ea98a4d81996056011eb4fb897d8 (diff) | |
no idea the right way to do this
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'helpers.go')
| -rw-r--r-- | helpers.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -46,6 +46,10 @@ func (c *Cluster) FormatTEXT() string { return prototext.Format(c) } +func (d *Droplets) FormatTEXT() string { + return prototext.Format(d) +} + func (c *Cluster) FindDroplet(name string) *Droplet { for _, d := range c.Droplets { if d.Hostname == name { |
