From 9181570bc3aba5891d2d55d70c8c1c4d8e47e517 Mon Sep 17 00:00:00 2001 From: Matthew Hooker Date: Thu, 27 Sep 2018 00:13:49 -0700 Subject: [PATCH] remove stray struct dumps in logs --- builder/alicloud/ecs/builder.go | 1 - builder/amazon/chroot/builder.go | 1 - builder/amazon/ebs/builder.go | 1 - builder/amazon/ebssurrogate/builder.go | 1 - builder/amazon/ebsvolume/builder.go | 1 - builder/amazon/instance/builder.go | 1 - builder/openstack/builder.go | 1 - 7 files changed, 7 deletions(-) diff --git a/builder/alicloud/ecs/builder.go b/builder/alicloud/ecs/builder.go index cc1472a64..ea317c819 100644 --- a/builder/alicloud/ecs/builder.go +++ b/builder/alicloud/ecs/builder.go @@ -68,7 +68,6 @@ func (b *Builder) Prepare(raws ...interface{}) ([]string, error) { } packer.LogSecretFilter.Set(b.config.AlicloudAccessKey, b.config.AlicloudSecretKey) - log.Println(b.config) return nil, nil } diff --git a/builder/amazon/chroot/builder.go b/builder/amazon/chroot/builder.go index fb385dc33..b2c95f1f2 100644 --- a/builder/amazon/chroot/builder.go +++ b/builder/amazon/chroot/builder.go @@ -178,7 +178,6 @@ func (b *Builder) Prepare(raws ...interface{}) ([]string, error) { } packer.LogSecretFilter.Set(b.config.AccessKey, b.config.SecretKey, b.config.Token) - log.Println(b.config) return warns, nil } diff --git a/builder/amazon/ebs/builder.go b/builder/amazon/ebs/builder.go index 60b201e26..1bb00b325 100644 --- a/builder/amazon/ebs/builder.go +++ b/builder/amazon/ebs/builder.go @@ -82,7 +82,6 @@ func (b *Builder) Prepare(raws ...interface{}) ([]string, error) { } packer.LogSecretFilter.Set(b.config.AccessKey, b.config.SecretKey, b.config.Token) - log.Println(b.config) return nil, nil } diff --git a/builder/amazon/ebssurrogate/builder.go b/builder/amazon/ebssurrogate/builder.go index 44dabbc67..59537572b 100644 --- a/builder/amazon/ebssurrogate/builder.go +++ b/builder/amazon/ebssurrogate/builder.go @@ -97,7 +97,6 @@ func (b *Builder) Prepare(raws ...interface{}) ([]string, error) { } packer.LogSecretFilter.Set(b.config.AccessKey, b.config.SecretKey, b.config.Token) - log.Println(b.config) return nil, nil } diff --git a/builder/amazon/ebsvolume/builder.go b/builder/amazon/ebsvolume/builder.go index 15493b790..781925fea 100644 --- a/builder/amazon/ebsvolume/builder.go +++ b/builder/amazon/ebsvolume/builder.go @@ -82,7 +82,6 @@ func (b *Builder) Prepare(raws ...interface{}) ([]string, error) { } packer.LogSecretFilter.Set(b.config.AccessKey, b.config.SecretKey, b.config.Token) - log.Println(b.config) return nil, nil } diff --git a/builder/amazon/instance/builder.go b/builder/amazon/instance/builder.go index 815caa474..6872f3883 100644 --- a/builder/amazon/instance/builder.go +++ b/builder/amazon/instance/builder.go @@ -167,7 +167,6 @@ func (b *Builder) Prepare(raws ...interface{}) ([]string, error) { return nil, errs } packer.LogSecretFilter.Set(b.config.AccessKey, b.config.SecretKey, b.config.Token) - log.Println(b.config) return nil, nil } diff --git a/builder/openstack/builder.go b/builder/openstack/builder.go index 1494da65d..c39de991b 100644 --- a/builder/openstack/builder.go +++ b/builder/openstack/builder.go @@ -62,7 +62,6 @@ func (b *Builder) Prepare(raws ...interface{}) ([]string, error) { } packer.LogSecretFilter.Set(b.config.Password) - log.Println(b.config) return nil, nil }