diff options
author | Steve Manuel <nilslice@gmail.com> | 2017-05-01 01:58:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-01 01:58:31 -0500 |
commit | be00bc108ee57806fcf325f64dfca9db0e0e8606 (patch) | |
tree | 8f3571c6a63b4b5a73aae83064b6cb1a8c51f00a /system/addon/addon.go | |
parent | 8319420935c223e432bc4c386bd7d26b03f01b47 (diff) | |
parent | ae56366270a7d854a4b6a12b621ad5b6010db5e3 (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.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 +} |