You've already forked woodpecker
mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-16 08:46:30 +02:00
Compile error
This commit is contained in:
@@ -49,7 +49,7 @@ func handleVersion(w http.ResponseWriter, r *http.Request) {
|
|||||||
w.Header().Add("Content-Type", "text/json")
|
w.Header().Add("Content-Type", "text/json")
|
||||||
json.NewEncoder(w).Encode(versionResp{
|
json.NewEncoder(w).Encode(versionResp{
|
||||||
Source: "https://github.com/laszlocph/woodpecker",
|
Source: "https://github.com/laszlocph/woodpecker",
|
||||||
Version: version.Version.String(),
|
Version: version.String(),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -28,7 +28,7 @@ import (
|
|||||||
func main() {
|
func main() {
|
||||||
app := cli.NewApp()
|
app := cli.NewApp()
|
||||||
app.Name = "drone-agent"
|
app.Name = "drone-agent"
|
||||||
app.Version = version.Version.String()
|
app.Version = version.String()
|
||||||
app.Usage = "drone agent"
|
app.Usage = "drone agent"
|
||||||
app.Action = loop
|
app.Action = loop
|
||||||
app.Commands = []cli.Command{
|
app.Commands = []cli.Command{
|
||||||
|
Reference in New Issue
Block a user