Ping utility can optionally survive DNS failure
- Previously, DNS was queried within the `Ping` utility constructor, so a DNS failure would always raised an exception. - Now the DNS query is in the standard `run()` method, so a failure from DNS will raise optionally, depending on the `validateAfter` parameter. - `Command` declared as a new style class so that `super(Ping, self).run()` can be called. Co-authored-by: NLarry Hamel <lhamel@pivotal.io> Co-authored-by: NJemish Patel <jpatel@pivotal.io>
Showing
想要评论请 注册 或 登录