Hide ssh url field if empty (#2103)

ui/offscreen-diff-contents
Johannes Batzill 2024-06-12 23:31:59 +00:00 committed by Harness
parent 45acf04250
commit 2970d52cb3
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ type Repository struct {
// git urls
GitURL string `json:"git_url" yaml:"-"`
GitSSHURL string `json:"git_ssh_url" yaml:"-"`
GitSSHURL string `json:"git_ssh_url,omitempty" yaml:"-"`
}
// Clone makes deep copy of repository object.