docker / app

Make your Docker Compose applications reusable, and share them on Docker Hub
Apache License 2.0
1.57k stars 177 forks source link

Mute warning when pushing to a registry #569

Closed ulyssessouza closed 5 years ago

ulyssessouza commented 5 years ago

When accepting config media type application/vnd.cnab.config.v1+json, containerd client lib emits the following line:

warning: WARN[0015] reference for unknown type: application/vnd.cnab.config.v1+json on stderr.

- What I did To avoid this, this PR set a muted logger to the push context Based on: https://github.com/docker/cnab-to-oci/commit/f709439464571705617ed4464773661421797dd3

- How I did it I did it by muting the logger when pushing

- How to verify it

$ docker app push --tag <user>/<repo>

The warning must be disappeared

- Description for the changelog Mute warning when pushing to a registry

- A picture of a cute animal (not mandatory but encouraged) swan

codecov[bot] commented 5 years ago

Codecov Report

Merging #569 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #569   +/-   ##
=======================================
  Coverage   70.62%   70.62%           
=======================================
  Files          55       55           
  Lines        3319     3319           
=======================================
  Hits         2344     2344           
  Misses        672      672           
  Partials      303      303

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 04c3a28...2d920e9. Read the comment docs.