Skip to content

Commit

Permalink
feat(Client): support passing undefined to Client (#474)
Browse files Browse the repository at this point in the history
  • Loading branch information
Silas Boyd-Wickizer committed May 19, 2019
1 parent bae265d commit 1fd10c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/swagger-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ class Root extends Component {

class Client {
constructor (options) {
options = options || {}

if (options.config) {
deprecate('Client({ config }), see ' +
'https://github.com/godaddy/kubernetes-client/blob/master/merging-with-kubernetes.md')
Expand Down

0 comments on commit 1fd10c4

Please sign in to comment.