mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 08:56:29 +00:00
Compile error
This commit is contained in:
parent
bb88be5060
commit
16765d939d
2 changed files with 2 additions and 2 deletions
|
@ -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{
|
||||||
|
|
Loading…
Reference in a new issue