Skip to content

Commit

Permalink
deps: update dependencies (#642)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobheadxi committed Mar 7, 2020
1 parent 0d13d89 commit 795ed90
Show file tree
Hide file tree
Showing 4 changed files with 129 additions and 46 deletions.
8 changes: 4 additions & 4 deletions client/sshc.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (s *SSHClient) InstallDocker() error {
// Install docker.
cmdStr := string(installDockerSh)
if err = s.ssh.RunStream(cmdStr, false); err != nil {
return fmt.Errorf("docker installation failed: %w", err.Error())
return fmt.Errorf("docker installation failed: %w", err)
}

return nil
Expand All @@ -87,7 +87,7 @@ func (s *SSHClient) GenerateKeys() (string, error) {
s.debugStdout("keygen.sh", stdout)
s.debugStderr("keygen.sh", stderr)
if err != nil {
return "", fmt.Errorf("key generation failed: %w", err.Error())
return "", fmt.Errorf("key generation failed: %w", err)
}

return stdout.String(), nil
Expand All @@ -104,7 +104,7 @@ func (s *SSHClient) AssignAPIToken() error {
s.debugStdout("token.sh", stdout)
s.debugStderr("token.sh", stderr)
if err != nil {
return fmt.Errorf("api token generation failed: %w", err.Error())
return fmt.Errorf("api token generation failed: %w", err)
}

// There may be a newline, remove it.
Expand All @@ -123,7 +123,7 @@ func (s *SSHClient) UninstallInertia() error {
s.debugStdout("inertia-down.sh", stdout)
s.debugStderr("inertia-down.sh", stderr)
if err != nil {
return fmt.Errorf("inertia shutdown failed: %w", err.Error())
return fmt.Errorf("inertia shutdown failed: %w", err)
}

return nil
Expand Down
26 changes: 10 additions & 16 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,46 +8,40 @@ require (
github.com/BurntSushi/toml v0.3.1
github.com/Microsoft/go-winio v0.4.14 // indirect
github.com/UnnoTed/fileb0x v1.1.3
github.com/aws/aws-sdk-go v1.17.9
github.com/aws/aws-sdk-go v1.29.17
github.com/boombuler/barcode v1.0.0 // indirect
github.com/cpuguy83/go-md2man v1.0.8 // indirect
github.com/dgrijalva/jwt-go v3.2.0+incompatible
github.com/docker/distribution v2.7.1+incompatible // indirect
github.com/docker/docker v1.4.2-0.20190301231049-8aca18d631f3
github.com/docker/go-connections v0.4.0
github.com/docker/go-units v0.3.3 // indirect
github.com/emirpasic/gods v1.12.0 // indirect
github.com/fatih/color v1.7.0
github.com/fatih/color v1.9.0
github.com/go-chi/chi v4.0.2+incompatible
github.com/go-chi/cors v1.0.0
github.com/go-chi/render v1.0.1
github.com/gogo/protobuf v1.2.1 // indirect
github.com/gorilla/mux v1.7.3 // indirect
github.com/gorilla/websocket v1.4.1
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/kyokomi/emoji v2.1.1-0.20190303065119-51762253ec2b+incompatible
github.com/mattn/go-isatty v0.0.6 // indirect
github.com/mattn/go-colorable v0.1.6 // indirect
github.com/maxbrunsfeld/counterfeiter/v6 v6.2.2
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/mitchellh/gox v1.0.1
github.com/morikuni/aec v0.0.0-20170113033406-39771216ff4c // indirect
github.com/opencontainers/go-digest v1.0.0-rc1 // indirect
github.com/opencontainers/image-spec v1.0.1 // indirect
github.com/pquerna/otp v1.1.0
github.com/russross/blackfriday v1.5.2 // indirect
github.com/sirupsen/logrus v1.4.2 // indirect
github.com/skip2/go-qrcode v0.0.0-20190110000554-dc11ecdae0a9 // indirect
github.com/spf13/cobra v0.0.4-0.20190109003409-7547e83b2d85
github.com/spf13/pflag v1.0.3 // indirect
github.com/stretchr/testify v1.3.0
github.com/skip2/go-qrcode v0.0.0-20191027152451-9434209cb086 // indirect
github.com/spf13/cobra v0.0.6
github.com/spf13/pflag v1.0.5 // indirect
github.com/stretchr/testify v1.4.0
github.com/xanzy/ssh-agent v0.2.1 // indirect
go.etcd.io/bbolt v1.3.2
go.uber.org/atomic v1.4.0 // indirect
go.uber.org/multierr v1.2.0
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2
golang.org/x/crypto v0.0.0-20200302210943-78000ba7a073
golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac
golang.org/x/net v0.0.0-20190628185345-da137c7871d7
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 // indirect
golang.org/x/net v0.0.0-20200301022130-244492dfa37a
golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527 // indirect
google.golang.org/grpc v1.23.1 // indirect
gopkg.in/src-d/go-billy.v4 v4.3.0 // indirect
gopkg.in/src-d/go-git.v4 v4.10.0
Expand Down

0 comments on commit 795ed90

Please sign in to comment.