Skip to content

Commit

Permalink
fix: build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Jul 6, 2021
1 parent f14d2e7 commit 5de255b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
3 changes: 0 additions & 3 deletions internal/httpclient/models/plugin_config_interface.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions internal/httpclient/models/volume.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion oauth2/oauth2_auth_code_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ func TestAuthCodeWithDefaultStrategy(t *testing.T) {
WithLoginChallenge(r.URL.Query().Get("login_challenge")).
WithBody(&models.AcceptLoginRequest{Subject: pointerx.String(""), Remember: true}))
require.Error(t, err) // expects 400
assert.Contains(t, err.(*admin.AcceptLoginRequestBadRequest).Payload.ErrorDescription, "Field 'subject' must not be empty", "%+v", *err.(*admin.AcceptLoginRequestBadRequest).Payload.Error)
assert.Contains(t, err.(*admin.AcceptLoginRequestBadRequest).Payload.Reason, "Field 'subject' must not be empty", "%+v", *err.(*admin.AcceptLoginRequestBadRequest).Payload)
}, testhelpers.HTTPServerNoExpectedCallHandler(t))
_, conf := newOAuth2Client(t, testhelpers.NewCallbackURL(t, "callback", testhelpers.HTTPServerNotImplementedHandler))

Expand Down
6 changes: 1 addition & 5 deletions spec/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -2154,10 +2154,6 @@
"Types"
],
"properties": {
"ProtocolScheme": {
"description": "Protocol to use for clients connecting to the plugin.",
"type": "string"
},
"Socket": {
"description": "socket",
"type": "string"
Expand Down Expand Up @@ -2500,7 +2496,7 @@
}
},
"Scope": {
"description": "The level at which the volume exists. Either `global` for cluster-wide,\nor `local` for machine level.",
"description": "The level at which the volume exists. Either `global` for cluster-wide, or `local` for machine level.",
"type": "string"
},
"Status": {
Expand Down

0 comments on commit 5de255b

Please sign in to comment.