-
Notifications
You must be signed in to change notification settings - Fork 34
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
Various changes #1622
Various changes #1622
Conversation
985f014
to
4aadf36
Compare
a27c0d0
to
4aadf36
Compare
cmd/krun.go
Outdated
|
||
$ iter8 k run --namespace {{ .Experiment.Namespace }} --group {{ .Experiment.group }} | ||
$ iter8 k run --namespace {{ .Test.Namespace }} --group {{ .Test.group }} |
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.
remove --group
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.
also change _k-job.tpl to remove this option
Signed-off-by: Alan Cha <[email protected]>
Signed-off-by: Alan Cha <[email protected]>
Signed-off-by: Alan Cha <[email protected]>
Signed-off-by: Alan Cha <[email protected]>
Signed-off-by: Alan Cha <[email protected]>
Signed-off-by: Alan Cha <[email protected]>
Signed-off-by: Alan Cha <[email protected]>
Signed-off-by: Alan Cha <[email protected]>
Signed-off-by: Alan Cha <[email protected]>
Signed-off-by: Alan Cha <[email protected]>
Signed-off-by: Alan Cha <[email protected]>
b97f883
to
d64a5fc
Compare
// errorCode checks if a given code is an error code | ||
func (t *collectHTTPTask) errorCode(code int) bool { | ||
// connection failure | ||
if code == -1 { | ||
return true | ||
} | ||
// HTTP errors | ||
for _, lims := range t.With.ErrorRanges { | ||
// if no lower limit (check upper) | ||
if lims.Lower == nil && code <= *lims.Upper { | ||
return true | ||
} | ||
// if no upper limit (check lower) | ||
if lims.Upper == nil && code >= *lims.Lower { | ||
return true | ||
} | ||
// if both limits are present (check both) | ||
if lims.Upper != nil && lims.Lower != nil && code <= *lims.Upper && code >= *lims.Lower { | ||
return true | ||
} | ||
} | ||
return false | ||
} | ||
|
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.
This is not used
Signed-off-by: Alan Cha <[email protected]>
Signed-off-by: Alan Cha <[email protected]>
Signed-off-by: Alan Cha <[email protected]>
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.
looks good
Signed-off-by: Alan Cha <[email protected]>
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.
lgtm
Fix #1598
Fix #1615
Fix #1611
Fix #1617
Fix #1492