Skip to content

Commit 742c35d

Browse files
authored
SYN-4427: Add omitempty field for WaitForNavTimeout (#27)
* SYN-4427: Add omitempty field for WaitForNavTimeout * SYN-4427: Add omitempty field for MaxWaitTime
1 parent 7b990b5 commit 742c35d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

syntheticsclientv2/common_models.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ type StepsV2 struct {
7777
URL string `json:"url,omitempty"`
7878
Action string `json:"action,omitempty"`
7979
WaitForNav bool `json:"waitForNav"`
80-
WaitForNavTimeout int `json:"waitForNavTimeout"`
81-
MaxWaitTime int `json:"maxWaitTime"`
80+
WaitForNavTimeout int `json:"waitForNavTimeout,omitempty"`
81+
MaxWaitTime int `json:"maxWaitTime,omitempty"`
8282
SelectorType string `json:"selectorType,omitempty"`
8383
Selector string `json:"selector,omitempty"`
8484
OptionSelectorType string `json:"optionSelectorType,omitempty"`

0 commit comments

Comments
 (0)