summaryrefslogtreecommitdiff
path: root/system/addon/addon.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2017-05-01 01:58:31 -0500
committerGitHub <noreply@github.com>2017-05-01 01:58:31 -0500
commitbe00bc108ee57806fcf325f64dfca9db0e0e8606 (patch)
tree8f3571c6a63b4b5a73aae83064b6cb1a8c51f00a /system/addon/addon.go
parent8319420935c223e432bc4c386bd7d26b03f01b47 (diff)
parentae56366270a7d854a4b6a12b621ad5b6010db5e3 (diff)
Merge pull request #138 from ponzu-cms/ponzu-dev
[core] more Admin and new Addon lifecycle hooks
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
+}