Skip to content

Commit

Permalink
remove link for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
bradrydzewski committed Aug 26, 2019
1 parent cee7788 commit 25d1c03
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion scm/driver/github/testdata/webhooks/deployment.json.golden
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"Created": "0001-01-01T00:00:00Z",
"Updated": "0001-01-01T00:00:00Z"
},
"Link": "https://api.github.com/repos/Codertocat/Hello-World/deployments/87972451",
"Target": "production",
"TargetURL": "",
"Task": "deploy"
Expand Down
1 change: 0 additions & 1 deletion scm/driver/github/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,6 @@ func convertPullRequestHook(src *pullRequestHook) *scm.PullRequestHook {

func convertDeploymentHook(src *deploymentHook) *scm.DeployHook {
dst := &scm.DeployHook{
Link: src.Deployment.URL.String,
Data: src.Deployment.Payload,
Desc: src.Deployment.Description.String,
Ref: scm.Reference{
Expand Down
1 change: 0 additions & 1 deletion scm/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ type (
Target string
TargetURL string
Task string
Link string
}

// SecretFunc provides the Webhook parser with the
Expand Down

0 comments on commit 25d1c03

Please sign in to comment.