Skip to content

Commit cfe2959

Browse files
author
Zack Proser
committed
Omit ownership_challenge when empty
1 parent 85ff4a5 commit cfe2959

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

logpush.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type LogpushJob struct {
1515
Name string `json:"name"`
1616
LogpullOptions string `json:"logpull_options"`
1717
DestinationConf string `json:"destination_conf"`
18-
OwnershipChallenge string `json:"ownership_challenge"`
18+
OwnershipChallenge string `json:"ownership_challenge,omitempty"`
1919
LastComplete *time.Time `json:"last_complete,omitempty"`
2020
LastError *time.Time `json:"last_error,omitempty"`
2121
ErrorMessage string `json:"error_message,omitempty"`

0 commit comments

Comments
 (0)