forked from concourse/docker-image-resource
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use custom type Tag for tag in config source
since json.Number doesn't allow to decode non-numeric string anymore. golang/go#14702 The Tag.UnmarshalJSON() function is taken from registry-image-resource so it is good that we finally make them consistent. Add more tests to cover this change. Nothing is expected to be broken. Signed-off-by: Rui Yang <ryang@pivotal.io>
- Loading branch information
1 parent
edeac37
commit eed3e0a
Showing
3 changed files
with
42 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters