fix: json template render bad empty array and empty object #644
3.63% of diff hit (target 57.07%)
View this Pull Request on Codecov
3.63% of diff hit (target 57.07%)
Annotations
Check warning on line 34 in api/cluster/raw_client/auth.go
codecov / codecov/patch
api/cluster/raw_client/auth.go#L31-L34
Added lines #L31 - L34 were not covered by tests
Check warning on line 47 in api/cluster/raw_client/auth.go
codecov / codecov/patch
api/cluster/raw_client/auth.go#L41-L47
Added lines #L41 - L47 were not covered by tests
Check warning on line 56 in api/cluster/raw_client/auth.go
codecov / codecov/patch
api/cluster/raw_client/auth.go#L50-L56
Added lines #L50 - L56 were not covered by tests
Check warning on line 65 in api/cluster/raw_client/auth.go
codecov / codecov/patch
api/cluster/raw_client/auth.go#L59-L65
Added lines #L59 - L65 were not covered by tests
Check warning on line 74 in api/cluster/raw_client/auth.go
codecov / codecov/patch
api/cluster/raw_client/auth.go#L68-L74
Added lines #L68 - L74 were not covered by tests
Check warning on line 83 in api/cluster/raw_client/auth.go
codecov / codecov/patch
api/cluster/raw_client/auth.go#L77-L83
Added lines #L77 - L83 were not covered by tests
Check warning on line 92 in api/cluster/raw_client/auth.go
codecov / codecov/patch
api/cluster/raw_client/auth.go#L86-L92
Added lines #L86 - L92 were not covered by tests
Check warning on line 101 in api/cluster/raw_client/auth.go
codecov / codecov/patch
api/cluster/raw_client/auth.go#L95-L101
Added lines #L95 - L101 were not covered by tests
Check warning on line 110 in api/cluster/raw_client/auth.go
codecov / codecov/patch
api/cluster/raw_client/auth.go#L104-L110
Added lines #L104 - L110 were not covered by tests
Check warning on line 119 in api/cluster/raw_client/auth.go
codecov / codecov/patch
api/cluster/raw_client/auth.go#L113-L119
Added lines #L113 - L119 were not covered by tests
Check warning on line 128 in api/cluster/raw_client/auth.go
codecov / codecov/patch
api/cluster/raw_client/auth.go#L122-L128
Added lines #L122 - L128 were not covered by tests
Check warning on line 137 in api/cluster/raw_client/auth.go
codecov / codecov/patch
api/cluster/raw_client/auth.go#L131-L137
Added lines #L131 - L137 were not covered by tests
Check warning on line 146 in api/cluster/raw_client/auth.go
codecov / codecov/patch
api/cluster/raw_client/auth.go#L140-L146
Added lines #L140 - L146 were not covered by tests
Check warning on line 155 in api/cluster/raw_client/auth.go
codecov / codecov/patch
api/cluster/raw_client/auth.go#L149-L155
Added lines #L149 - L155 were not covered by tests
Check warning on line 164 in api/cluster/raw_client/auth.go
codecov / codecov/patch
api/cluster/raw_client/auth.go#L158-L164
Added lines #L158 - L164 were not covered by tests
Check warning on line 168 in api/cluster/raw_client/auth.go
codecov / codecov/patch
api/cluster/raw_client/auth.go#L167-L168
Added lines #L167 - L168 were not covered by tests
Check warning on line 60 in api/cluster/raw_client/conn.go
codecov / codecov/patch
api/cluster/raw_client/conn.go#L60
Added line #L60 was not covered by tests
Check warning on line 76 in api/cluster/raw_client/conn.go
codecov / codecov/patch
api/cluster/raw_client/conn.go#L70-L76
Added lines #L70 - L76 were not covered by tests
Check warning on line 79 in api/cluster/raw_client/conn.go
codecov / codecov/patch
api/cluster/raw_client/conn.go#L79
Added line #L79 was not covered by tests
Check warning on line 95 in api/cluster/raw_client/conn.go
codecov / codecov/patch
api/cluster/raw_client/conn.go#L81-L95
Added lines #L81 - L95 were not covered by tests
Check warning on line 106 in api/cluster/raw_client/conn.go
codecov / codecov/patch
api/cluster/raw_client/conn.go#L104-L106
Added lines #L104 - L106 were not covered by tests
Check warning on line 113 in api/cluster/raw_client/conn.go
codecov / codecov/patch
api/cluster/raw_client/conn.go#L113
Added line #L113 was not covered by tests
Check warning on line 120 in api/cluster/raw_client/conn.go
codecov / codecov/patch
api/cluster/raw_client/conn.go#L120
Added line #L120 was not covered by tests
Check warning on line 124 in api/cluster/raw_client/conn.go
codecov / codecov/patch
api/cluster/raw_client/conn.go#L122-L124
Added lines #L122 - L124 were not covered by tests
Check warning on line 134 in api/cluster/raw_client/conn.go
codecov / codecov/patch
api/cluster/raw_client/conn.go#L133-L134
Added lines #L133 - L134 were not covered by tests