mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-28 20:50:45 +00:00
Remove unused -path
This commit is contained in:
@@ -20,11 +20,6 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
// local path where the SQLite database
|
|
||||||
// should be stored. By default this is
|
|
||||||
// in the current working directory.
|
|
||||||
path string
|
|
||||||
|
|
||||||
// port the server will run on
|
// port the server will run on
|
||||||
port string
|
port string
|
||||||
|
|
||||||
@@ -49,7 +44,6 @@ var (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
// parse command line flags
|
// parse command line flags
|
||||||
flag.StringVar(&path, "path", "", "")
|
|
||||||
flag.StringVar(&port, "port", ":8080", "")
|
flag.StringVar(&port, "port", ":8080", "")
|
||||||
flag.StringVar(&driver, "driver", "sqlite3", "")
|
flag.StringVar(&driver, "driver", "sqlite3", "")
|
||||||
flag.StringVar(&datasource, "datasource", "drone.sqlite", "")
|
flag.StringVar(&datasource, "datasource", "drone.sqlite", "")
|
||||||
|
Reference in New Issue
Block a user