1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/logger
Sebastiaan van Stijn ef2872132d
awslogs: replace deprecated session.New() with session.NewSession()
```
16:04:35 daemon/logger/awslogs/cloudwatchlogs.go:312:25: SA1019: session.New is deprecated: Use NewSession functions to create sessions instead. NewSession has the same functionality as New except an error can be returned when the func is called instead of waiting to receive an error until a request is made.  (staticcheck)
16:04:35 	return ec2metadata.New(session.New())
```

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-09-03 10:39:08 +02:00
..
awslogs awslogs: replace deprecated session.New() with session.NewSession() 2019-09-03 10:39:08 +02:00
etwlogs
fluentd Merge pull request #38586 from robin-thoni/labels-regex 2019-04-29 12:25:21 -07:00
gcplogs Use a regex to match labels 2019-01-16 22:17:16 +00:00
gelf Use a regex to match labels 2019-01-16 22:17:16 +00:00
journald journald/read: fix/unify errors 2019-08-02 10:02:35 -07:00
jsonfilelog Merge pull request #38586 from robin-thoni/labels-regex 2019-04-29 12:25:21 -07:00
local Use assert.NilError() instead of assert.Assert() 2019-01-21 13:16:02 +01:00
logentries Use a regex to match labels 2019-01-16 22:17:16 +00:00
loggerutils Use assert.NilError() instead of assert.Assert() 2019-01-21 13:16:02 +01:00
splunk Be more conservative for Windows in TestFrequency for Splunk 2019-07-17 13:13:50 -07:00
syslog Use a regex to match labels 2019-01-16 22:17:16 +00:00
templates Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
adapter.go Adds PartialLogMetadata to encode protobuf for logger plugins 2019-04-09 16:14:33 +05:00
adapter_test.go daemon.ContainerLogs(): fix resource leak on follow 2018-09-06 11:47:42 -07:00
copier.go Add metrics for log failures/partials 2018-05-10 17:22:37 -04:00
copier_test.go
factory.go Various code-cleanup 2018-05-23 17:50:54 +02:00
logger.go Cleanup duplication in daemon files 2018-11-13 10:42:57 +08:00
logger_test.go
loginfo.go Use a regex to match labels 2019-01-16 22:17:16 +00:00
metrics.go Add metrics for log failures/partials 2018-05-10 17:22:37 -04:00
plugin.go Entropy cannot be saved 2019-06-07 11:54:45 +01:00
plugin_unix.go Fix logging plugin crash unrecoverable 2018-05-14 16:51:56 -04:00
plugin_unsupported.go
proxy.go
ring.go Update documentation for RingLogger's ring buffer 2018-05-16 18:52:50 -06:00
ring_test.go Update documentation for RingLogger's ring buffer 2018-05-16 18:52:50 -06:00