diff options
author | Steve Manuel <nilslice@gmail.com> | 2017-05-01 01:04:48 -0500 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2017-05-01 01:04:48 -0500 |
commit | 85a3a3a7f37b7c459dac824ea837bcb1f5a12d4c (patch) | |
tree | 0ca938e1d52470f0c2b78b7cfb3e23ea4576abbe /system/addon/addon.go | |
parent | 8a1d091a0c6d55dbd6c713b2240bee8550541e7b (diff) |
adding hooks to interface and handler for addon enable/disable
Diffstat (limited to 'system/addon/addon.go')
-rw-r--r-- | system/addon/addon.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/system/addon/addon.go b/system/addon/addon.go index 5414d6f..dd3d00a 100644 --- a/system/addon/addon.go +++ b/system/addon/addon.go @@ -237,3 +237,9 @@ func reverseDNS(meta Meta) (string, error) { return strings.Join(append(strap, name), "."), nil } + +// String returns the addon name and overrides the item String() method in +// item.Identifiable interface +func (a *Addon) String() string { + return a.PonzuAddonName +} |