summaryrefslogtreecommitdiff
path: root/system/addon/addon.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2017-05-01 01:04:48 -0500
committerSteve Manuel <nilslice@gmail.com>2017-05-01 01:04:48 -0500
commit85a3a3a7f37b7c459dac824ea837bcb1f5a12d4c (patch)
tree0ca938e1d52470f0c2b78b7cfb3e23ea4576abbe /system/addon/addon.go
parent8a1d091a0c6d55dbd6c713b2240bee8550541e7b (diff)
adding hooks to interface and handler for addon enable/disable
Diffstat (limited to 'system/addon/addon.go')
-rw-r--r--system/addon/addon.go6
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
+}