aboutsummaryrefslogtreecommitdiffstats
path: root/modules/structs/repo_tag.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/structs/repo_tag.go')
-rw-r--r--modules/structs/repo_tag.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/structs/repo_tag.go b/modules/structs/repo_tag.go
index 5722513f4f..bb8bfd10cb 100644
--- a/modules/structs/repo_tag.go
+++ b/modules/structs/repo_tag.go
@@ -11,8 +11,8 @@ type Tag struct {
Message string `json:"message"`
ID string `json:"id"`
Commit *CommitMeta `json:"commit"`
- ZipballURL string `json:"zipball_url"`
- TarballURL string `json:"tarball_url"`
+ ZipballURL string `json:"zipball_url,omitempty"`
+ TarballURL string `json:"tarball_url,omitempty"`
}
// AnnotatedTag represents an annotated tag