diff --git a/cmd/plugin/argocd/main.go b/cmd/plugin/argocd/main.go index 96c62b776..d716c7789 100644 --- a/cmd/plugin/argocd/main.go +++ b/cmd/plugin/argocd/main.go @@ -35,5 +35,5 @@ func (p Plugin) Read(options map[string]interface{}) (map[string]interface{}, er var DevStreamPlugin Plugin func main() { - log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", NAME, DevStreamPlugin) + log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", DevStreamPlugin, NAME) } diff --git a/cmd/plugin/argocdapp/main.go b/cmd/plugin/argocdapp/main.go index 81581beae..6032feb12 100644 --- a/cmd/plugin/argocdapp/main.go +++ b/cmd/plugin/argocdapp/main.go @@ -35,5 +35,5 @@ func (p Plugin) Delete(options map[string]interface{}) (bool, error) { var DevStreamPlugin Plugin func main() { - log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", NAME, DevStreamPlugin) + log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", DevStreamPlugin, NAME) } diff --git a/cmd/plugin/devlake/main.go b/cmd/plugin/devlake/main.go index 0bc3773d4..7c4978b65 100644 --- a/cmd/plugin/devlake/main.go +++ b/cmd/plugin/devlake/main.go @@ -35,5 +35,5 @@ func (p Plugin) Delete(options map[string]interface{}) (bool, error) { var DevStreamPlugin Plugin func main() { - log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", NAME, DevStreamPlugin) + log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", DevStreamPlugin, NAME) } diff --git a/cmd/plugin/github-repo-scaffolding-golang/main.go b/cmd/plugin/github-repo-scaffolding-golang/main.go index be109acf1..9590a76fb 100644 --- a/cmd/plugin/github-repo-scaffolding-golang/main.go +++ b/cmd/plugin/github-repo-scaffolding-golang/main.go @@ -36,5 +36,5 @@ func (p Plugin) Delete(options map[string]interface{}) (bool, error) { var DevStreamPlugin Plugin func main() { - log.Printf("%T: %s is a plugin for DevStream. Use it with DevStream.\n", NAME, DevStreamPlugin) + log.Printf("%T: %s is a plugin for DevStream. Use it with DevStream.\n", DevStreamPlugin, NAME) } diff --git a/cmd/plugin/githubactions-golang/main.go b/cmd/plugin/githubactions-golang/main.go index 6b28c911e..19faa5dc6 100644 --- a/cmd/plugin/githubactions-golang/main.go +++ b/cmd/plugin/githubactions-golang/main.go @@ -35,5 +35,5 @@ func (p Plugin) Delete(options map[string]interface{}) (bool, error) { var DevStreamPlugin Plugin func main() { - log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", NAME, DevStreamPlugin) + log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", DevStreamPlugin, NAME) } diff --git a/cmd/plugin/githubactions-nodejs/main.go b/cmd/plugin/githubactions-nodejs/main.go index 4b9a321df..679f7abc9 100644 --- a/cmd/plugin/githubactions-nodejs/main.go +++ b/cmd/plugin/githubactions-nodejs/main.go @@ -35,5 +35,5 @@ func (p Plugin) Delete(options map[string]interface{}) (bool, error) { var DevStreamPlugin Plugin func main() { - log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", NAME, DevStreamPlugin) + log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", DevStreamPlugin, NAME) } diff --git a/cmd/plugin/githubactions-python/main.go b/cmd/plugin/githubactions-python/main.go index 5cae7f7ba..99fb35975 100644 --- a/cmd/plugin/githubactions-python/main.go +++ b/cmd/plugin/githubactions-python/main.go @@ -35,5 +35,5 @@ func (p Plugin) Delete(options map[string]interface{}) (bool, error) { var DevStreamPlugin Plugin func main() { - log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", NAME, DevStreamPlugin) + log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", DevStreamPlugin, NAME) } diff --git a/cmd/plugin/gitlab-repo-scaffolding-golang/main.go b/cmd/plugin/gitlab-repo-scaffolding-golang/main.go index c4975e336..b9c1ba76b 100644 --- a/cmd/plugin/gitlab-repo-scaffolding-golang/main.go +++ b/cmd/plugin/gitlab-repo-scaffolding-golang/main.go @@ -36,5 +36,5 @@ func (p Plugin) Delete(options map[string]interface{}) (bool, error) { var DevStreamPlugin Plugin func main() { - log.Printf("%T: %s is a plugin for DevStream. Use it with DevStream.\n", NAME, DevStreamPlugin) + log.Printf("%T: %s is a plugin for DevStream. Use it with DevStream.\n", DevStreamPlugin, NAME) } diff --git a/cmd/plugin/gitlabci-generic/main.go b/cmd/plugin/gitlabci-generic/main.go index 0f0f80aa3..610d1b0a7 100644 --- a/cmd/plugin/gitlabci-generic/main.go +++ b/cmd/plugin/gitlabci-generic/main.go @@ -35,5 +35,5 @@ func (p Plugin) Read(options map[string]interface{}) (map[string]interface{}, er var DevStreamPlugin Plugin func main() { - log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", NAME, DevStreamPlugin) + log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", DevStreamPlugin, NAME) } diff --git a/cmd/plugin/gitlabci-golang/main.go b/cmd/plugin/gitlabci-golang/main.go index 5e86f8e87..39eb22539 100644 --- a/cmd/plugin/gitlabci-golang/main.go +++ b/cmd/plugin/gitlabci-golang/main.go @@ -35,5 +35,5 @@ func (p Plugin) Delete(options map[string]interface{}) (bool, error) { var DevStreamPlugin Plugin func main() { - log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", NAME, DevStreamPlugin) + log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", DevStreamPlugin, NAME) } diff --git a/cmd/plugin/hashicorp-vault/main.go b/cmd/plugin/hashicorp-vault/main.go index e57efe0ef..fa38312dc 100644 --- a/cmd/plugin/hashicorp-vault/main.go +++ b/cmd/plugin/hashicorp-vault/main.go @@ -35,5 +35,5 @@ func (p Plugin) Read(options map[string]interface{}) (map[string]interface{}, er var DevStreamPlugin Plugin func main() { - log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", NAME, DevStreamPlugin) + log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", DevStreamPlugin, NAME) } diff --git a/cmd/plugin/helm-generic/main.go b/cmd/plugin/helm-generic/main.go index 895e3448f..28e188590 100644 --- a/cmd/plugin/helm-generic/main.go +++ b/cmd/plugin/helm-generic/main.go @@ -35,5 +35,5 @@ func (p Plugin) Read(options map[string]interface{}) (map[string]interface{}, er var DevStreamPlugin Plugin func main() { - log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", NAME, DevStreamPlugin) + log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", DevStreamPlugin, NAME) } diff --git a/cmd/plugin/jenkins/main.go b/cmd/plugin/jenkins/main.go index a258eaed8..7c4ec0971 100644 --- a/cmd/plugin/jenkins/main.go +++ b/cmd/plugin/jenkins/main.go @@ -35,5 +35,5 @@ func (p Plugin) Delete(options map[string]interface{}) (bool, error) { var DevStreamPlugin Plugin func main() { - log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", NAME, DevStreamPlugin) + log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", DevStreamPlugin, NAME) } diff --git a/cmd/plugin/jira-github-integ/main.go b/cmd/plugin/jira-github-integ/main.go index e815c3665..c07f69dd3 100644 --- a/cmd/plugin/jira-github-integ/main.go +++ b/cmd/plugin/jira-github-integ/main.go @@ -35,5 +35,5 @@ func (p Plugin) Delete(options map[string]interface{}) (bool, error) { var DevStreamPlugin Plugin func main() { - log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", NAME, DevStreamPlugin) + log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", DevStreamPlugin, NAME) } diff --git a/cmd/plugin/kube-prometheus/main.go b/cmd/plugin/kube-prometheus/main.go index a9d7b6e2a..8310e0db1 100644 --- a/cmd/plugin/kube-prometheus/main.go +++ b/cmd/plugin/kube-prometheus/main.go @@ -35,5 +35,5 @@ func (p Plugin) Delete(options map[string]interface{}) (bool, error) { var DevStreamPlugin Plugin func main() { - log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", NAME, DevStreamPlugin) + log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", DevStreamPlugin, NAME) } diff --git a/cmd/plugin/openldap/main.go b/cmd/plugin/openldap/main.go index 020f93d10..48fb02325 100644 --- a/cmd/plugin/openldap/main.go +++ b/cmd/plugin/openldap/main.go @@ -35,5 +35,5 @@ func (p Plugin) Read(options map[string]interface{}) (map[string]interface{}, er var DevStreamPlugin Plugin func main() { - log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", NAME, DevStreamPlugin) + log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", DevStreamPlugin, NAME) } diff --git a/cmd/plugin/trello-github-integ/main.go b/cmd/plugin/trello-github-integ/main.go index 5681d68c0..370787015 100644 --- a/cmd/plugin/trello-github-integ/main.go +++ b/cmd/plugin/trello-github-integ/main.go @@ -35,5 +35,5 @@ func (p Plugin) Delete(options map[string]interface{}) (bool, error) { var DevStreamPlugin Plugin func main() { - log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", NAME, DevStreamPlugin) + log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", DevStreamPlugin, NAME) } diff --git a/cmd/plugin/trello/main.go b/cmd/plugin/trello/main.go index 9449454a5..25040cae0 100644 --- a/cmd/plugin/trello/main.go +++ b/cmd/plugin/trello/main.go @@ -35,5 +35,5 @@ func (p Plugin) Delete(options map[string]interface{}) (bool, error) { var DevStreamPlugin Plugin func main() { - log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", NAME, DevStreamPlugin) + log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", DevStreamPlugin, NAME) } diff --git a/internal/pkg/develop/plugin/template/main.go b/internal/pkg/develop/plugin/template/main.go index e4b0f8f49..bac8eb9ea 100644 --- a/internal/pkg/develop/plugin/template/main.go +++ b/internal/pkg/develop/plugin/template/main.go @@ -39,7 +39,7 @@ func (p Plugin) Read(options map[string]interface{}) (map[string]interface{}, er var DevStreamPlugin Plugin func main() { - log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", NAME, DevStreamPlugin) + log.Infof("%T: %s is a plugin for DevStream. Use it with DevStream.\n", DevStreamPlugin, NAME) } `