mirror of https://github.com/harness/drone.git
Hide ssh url field if empty (#2103)
parent
45acf04250
commit
2970d52cb3
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue