Compare commits
4 Commits
v0.3.1
...
42bc11bf1a
Author | SHA1 | Date | |
---|---|---|---|
42bc11bf1a | |||
44e3d534f6 | |||
1fbe3282c8 | |||
10a6342233 |
@ -1,4 +1,4 @@
|
|||||||
pipeline:
|
steps:
|
||||||
release:
|
release:
|
||||||
image: goreleaser/goreleaser
|
image: goreleaser/goreleaser
|
||||||
commands:
|
commands:
|
||||||
|
5
.woodpecker/go-lint.yml
Normal file
5
.woodpecker/go-lint.yml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
steps:
|
||||||
|
release:
|
||||||
|
image: golangci/golangci-lint:v1.53.3
|
||||||
|
commands:
|
||||||
|
- golangci-lint run -v
|
@ -1,4 +1,4 @@
|
|||||||
pipeline:
|
steps:
|
||||||
build:
|
build:
|
||||||
image: klakegg/hugo:ext-debian-ci
|
image: klakegg/hugo:ext-debian-ci
|
||||||
commands:
|
commands:
|
||||||
|
8
Makefile
8
Makefile
@ -1,8 +0,0 @@
|
|||||||
build:
|
|
||||||
go build
|
|
||||||
|
|
||||||
install:
|
|
||||||
go install .
|
|
||||||
|
|
||||||
goreleaser-snapshot:
|
|
||||||
goreleaser -f .goreleaser/gitea.yml release --snapshot --clean
|
|
@ -412,7 +412,7 @@ func (remoteConfig *Host) GetProxyJumpConfig(hosts map[string]*Host, opts *Confi
|
|||||||
// TODO: Add value/option to config for host key and add bool to check for host key
|
// TODO: Add value/option to config for host key and add bool to check for host key
|
||||||
hostKeyCallback, err := knownhosts.New(khPath)
|
hostKeyCallback, err := knownhosts.New(khPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return errors.Wrap(err, "could not create hostkeycallback function")
|
return fmt.Errorf("could not create hostkeycallback function: %v", err)
|
||||||
}
|
}
|
||||||
remoteConfig.ClientConfig.HostKeyCallback = hostKeyCallback
|
remoteConfig.ClientConfig.HostKeyCallback = hostKeyCallback
|
||||||
hosts[remoteConfig.Host] = remoteConfig
|
hosts[remoteConfig.Host] = remoteConfig
|
||||||
|
Reference in New Issue
Block a user