mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-05 13:05:17 +00:00
rename NewPluginLogger to NewLogger
Signed-off-by: Steve Kriss <steve@heptio.com>
This commit is contained in:
@@ -31,7 +31,7 @@ import (
|
||||
)
|
||||
|
||||
func NewCommand() *cobra.Command {
|
||||
logger := arkplugin.NewPluginLogger()
|
||||
logger := arkplugin.NewLogger()
|
||||
|
||||
objectStores := map[string]cloudprovider.ObjectStore{
|
||||
"aws": aws.NewObjectStore(),
|
||||
|
||||
@@ -22,9 +22,9 @@ import (
|
||||
"github.com/heptio/ark/pkg/util/logging"
|
||||
)
|
||||
|
||||
// NewPluginLogger returns a logger that is suitable for use within an
|
||||
// NewLogger returns a logger that is suitable for use within an
|
||||
// Ark plugin.
|
||||
func NewPluginLogger() logrus.FieldLogger {
|
||||
func NewLogger() logrus.FieldLogger {
|
||||
logger := logrus.New()
|
||||
|
||||
// we use the JSON formatter because go-plugin will parse incoming
|
||||
|
||||
Reference in New Issue
Block a user