diff --git a/plugins/resource/triggers.go b/plugins/resource/triggers.go index 530f5a1a0..caf7aca4d 100644 --- a/plugins/resource/triggers.go +++ b/plugins/resource/triggers.go @@ -88,7 +88,7 @@ func TriggerDockerArgsProcessDeploy(appName string, processType string) error { // TriggerInstall runs the install step for the resource plugin func TriggerInstall() error { if err := common.PropertySetup("resource"); err != nil { - return errors.New(fmt.Sprintf("Unable to install the resource plugin: %s", err.Error())) + return fmt.Errorf("Unable to install the resource plugin: %v", err) } return nil }