Skip to content
This repository has been archived by the owner on Oct 2, 2022. It is now read-only.

Commit

Permalink
Bumping http to 0.9.2 (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
Janos Pasztor committed Dec 12, 2020
1 parent 8262b60 commit 33acd6a
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
@@ -1,5 +1,9 @@
# Changelog

## 0.9.3: Bumped HTTP dependency

Bumped [http](https://github.com/containerssh/http) dependency to 0.9.2.

## 0.9.2: Fixed YAML and JSON serialization

This release fixes how the client configuration structure is serialized and unserialized. Previously, we missed to add the `inline` option to the embedded option to the HTTP client config which lead to a substructure being created. This is now fixed.
Expand All @@ -14,4 +18,4 @@ Transitioning to the authorized_keys format should make it easier for auth serve

## 0.9.0: Initial release (December 5, 2020)

This is the initial release of this library and port from ContainerSSH 0.3.0.
This is the initial release of this library and port from ContainerSSH 0.3.0.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -83,7 +83,7 @@ This library also provides a HTTP client for authentication servers. This librar
```go
client := auth.NewHttpAuthClient(
auth.ClientConfig{
Url: "http://localhost:8080"
URL: "http://localhost:8080"
Password: true,
PubKey: false,
},
Expand Down
2 changes: 1 addition & 1 deletion client_factory.go
Expand Up @@ -13,7 +13,7 @@ func NewHttpAuthClient(
config ClientConfig,
logger log.Logger,
) (Client, error) {
if config.Url == "" {
if config.URL == "" {
return nil, fmt.Errorf("no authentication server URL provided")
}
realClient, err := http.NewClient(
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Expand Up @@ -3,8 +3,8 @@ module github.com/containerssh/auth
go 1.14

require (
github.com/containerssh/http v0.9.1
github.com/containerssh/log v0.9.4
github.com/containerssh/http v0.9.2
github.com/containerssh/log v0.9.6
github.com/containerssh/service v0.9.0
github.com/stretchr/testify v1.6.1
)
12 changes: 4 additions & 8 deletions go.sum
@@ -1,13 +1,9 @@
github.com/containerssh/http v0.9.0 h1:zMoVSCwa0BUSqrBzOq+oUDUu83e5s3QwpPxVLitt/nU=
github.com/containerssh/http v0.9.0/go.mod h1:SpGAw+4qbnYgttMfNRPZaWSl6iTp1jRS+NUklCQj/3I=
github.com/containerssh/http v0.9.1 h1:n7fNwRoZR+HsuAinuIdDbSl28O/d9O7raoUUYyeQkgA=
github.com/containerssh/http v0.9.1/go.mod h1:rKeRa8glbNsA08etU2HkRAsQ5Wn9J6Ht8Ly/aSNXC/I=
github.com/containerssh/log v0.9.1 h1:lFzNisegZH+g1osB5oda4y8vuhdq2gjp2yNSa2khr+Y=
github.com/containerssh/log v0.9.1/go.mod h1:05pgNm7IgFKt+qbZiUhtuJw2B4j3ynn2vSv5j2JA7hA=
github.com/containerssh/http v0.9.2 h1:ZvGaQy/xxNE+UGavsyp2bYwagz9/s+c11wVQoCQXRY4=
github.com/containerssh/http v0.9.2/go.mod h1:ZuPYt0qDhZ4FRWRf/gUyG/VChNRIMd4N7gSA3Qs3SCI=
github.com/containerssh/log v0.9.2 h1:QngZdg3EFvFxthpJY4X2qgVwqSHFTzHJ2kCiQkR7FLQ=
github.com/containerssh/log v0.9.2/go.mod h1:05pgNm7IgFKt+qbZiUhtuJw2B4j3ynn2vSv5j2JA7hA=
github.com/containerssh/log v0.9.4 h1:/pyDm7wL/nZPzeX9b3HFDcOElGjZm8DlwAYhUuVmnP0=
github.com/containerssh/log v0.9.4/go.mod h1:vjhNGHj9nLBSHnkV157oMrbUiJa+2vxzNgYLttva3ig=
github.com/containerssh/log v0.9.6 h1:K3/RjrKnTfT1jBe+9PxMdFrZkLSmXQapZD4wcSFGe5w=
github.com/containerssh/log v0.9.6/go.mod h1:P/tea/If6kzzfqlZdmqNp5SOpD6CD/OvmvcOK+vbweI=
github.com/containerssh/service v0.9.0 h1:JUHqiK12tclq7EWQYGRTfgKKw6fhHs0gxlKWTvVwFlQ=
github.com/containerssh/service v0.9.0/go.mod h1:otAKYF1MWy2eB0K7Sk7YQIECQMTHR3yikbyS1UstGpY=
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
Expand Down
2 changes: 1 addition & 1 deletion integration_test.go
Expand Up @@ -118,7 +118,7 @@ func initializeAuth(logger log.Logger) (auth.Client, service.Lifecycle, error) {
client, err := auth.NewHttpAuthClient(
auth.ClientConfig{
ClientConfiguration: http.ClientConfiguration{
Url: "http://127.0.0.1:8080",
URL: "http://127.0.0.1:8080",
},
Password: true,
PubKey: true,
Expand Down

0 comments on commit 33acd6a

Please sign in to comment.