mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-21 14:00:33 +00:00
Two small issues found by 'go vet'
This commit is contained in:
@@ -164,7 +164,7 @@ func run(path string) {
|
||||
if len(*identity) != 0 {
|
||||
key, err = ioutil.ReadFile(*identity)
|
||||
if err != nil {
|
||||
fmt.Printf("[Error] Could not find or read identity file %s\n", identity)
|
||||
fmt.Printf("[Error] Could not find or read identity file %s\n", *identity)
|
||||
os.Exit(1)
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user