File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ export default class RestApiBackend implements Backend {
198198 ) ;
199199 }
200200 if ( isCloudEdition ( result . data . edition ) ) {
201- throw new Error ( 'Detected Checkmk Cloud (SaaS) . Can not query data from Checkmk Cloud (SaaS) .' ) ;
201+ throw new Error ( 'Detected Checkmk Cloud. Can not query data from Checkmk Cloud.' ) ;
202202 }
203203 // The REST API would be ok with other users, but the autocompleter are not
204204 if ( ! ( await this . isAutomationUser ( this . datasource . getUsername ( ) ) ) ) {
@@ -256,9 +256,9 @@ export default class RestApiBackend implements Backend {
256256
257257 // check for cloud edition header
258258 const checkmkEdition = result . headers . get ( 'X-Checkmk-Edition' ) ;
259- // CSE is never supported
259+ // Cloud is never supported
260260 if ( checkmkEdition && isCloudEdition ( checkmkEdition ) ) {
261- throw new Error ( 'Cannot query data from Checkmk Cloud (SaaS) .' ) ;
261+ throw new Error ( 'Cannot query data from Checkmk Cloud.' ) ;
262262 }
263263
264264 return result ;
You can’t perform that action at this time.
0 commit comments