moby--moby/api/server/backend/build
Sebastiaan van Stijn ff81dc3544
api/server/backend/build: remove Tagger and NewTagger
The Tagger was introduced in 0296797f0f, as part
of a refactor, but was never used outside of the package itself. The commit
also didn't explain why this was changed into a Type with a constructor, as all
the constructor appears to be used for is to sanitize and validate the tags.

This patch removes the `Tagger` struct and its constructor, and instead just
uses a function to do the same.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-09-07 20:36:00 +02:00
..
backend.go api/server/backend/build: remove Tagger and NewTagger 2022-09-07 20:36:00 +02:00
tag.go api/server/backend/build: remove Tagger and NewTagger 2022-09-07 20:36:00 +02:00