-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refinements to ops verify-traffic to integrate and work with ziti edge login #2513
Changes from all commits
ff17bde
8113fc6
2700450
8458b54
03eed34
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ package verify | |
|
||
import ( | ||
"fmt" | ||
"io" | ||
"net" | ||
"os" | ||
"strings" | ||
|
@@ -48,7 +49,7 @@ type stringMapList []interface{} | |
|
||
type StringMap map[string]interface{} | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why add this, just to ignore it? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. meh - it was just a consistency thing... all the other commands pass these params so it was consistent. i had it with no params, but then verify-traffic needed in/out streams... so -- yeah that's 'why' |
||
func NewVerifyNetwork() *cobra.Command { | ||
func NewVerifyNetwork(_ io.Writer, _ io.Writer) *cobra.Command { | ||
n := &network{} | ||
|
||
cmd := &cobra.Command{ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is unused, should we just remove it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dunno. it's an @andrewpmartinez question. I just made the linter happy :) i was pointed it out to andrew...