unavailable describes each schema that couldn't be loaded.
()
| 127 | |
| 128 | // unavailable describes each schema that couldn't be loaded. |
| 129 | func (c *checker) unavailable() []string { |
| 130 | var notes []string |
| 131 | if c.gqlErr != nil { |
| 132 | notes = append(notes, fmt.Sprintf("GraphQL checks are off: %v", c.gqlErr)) |
| 133 | } |
| 134 | if c.restErr != nil { |
| 135 | notes = append(notes, fmt.Sprintf("REST checks are off: %v", c.restErr)) |
| 136 | } |
| 137 | return notes |
| 138 | } |
| 139 | |
| 140 | // checkResult is what checking one request and its response found. note says |
| 141 | // why a response wasn't checked, when it wasn't. |
no outgoing calls