From 2ead133688bc6654527d439a4a9bedf3ff673838 Mon Sep 17 00:00:00 2001 From: Oleksandr Kovalchuk Date: Wed, 15 Apr 2020 15:55:21 +0300 Subject: [PATCH] Fix documentation source regarding notifications level According to schema, field is called level, not loggingLevel. Fix invalid example in the documentation Ref: https://github.com/jenkinsci/kubernetes-operator/blob/master/pkg/apis/jenkins/v1alpha2/jenkins_types.go#L108 --- .../docs/Getting Started/latest/notifications.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/website/content/en/docs/Getting Started/latest/notifications.md b/website/content/en/docs/Getting Started/latest/notifications.md index 91565a6c..c381fa1f 100644 --- a/website/content/en/docs/Getting Started/latest/notifications.md +++ b/website/content/en/docs/Getting Started/latest/notifications.md @@ -24,7 +24,7 @@ kind: Jenkins spec: master: notifications: - - loggingLevel: info + - level: info verbose: true name: slack: @@ -45,7 +45,7 @@ kind: Jenkins spec: master: notifications: - - loggingLevel: info + - level: info verbose: true name: teams: @@ -64,7 +64,7 @@ kind: Jenkins spec: master: notifications: - - loggingLevel: info + - level: info verbose: true name: mailgun: @@ -81,7 +81,7 @@ spec: As you see there is two debugging options: -* `loggingLevel` (warning/info) - Set level of messages to send. +* `level` (warning/info) - Set level of messages to send. * `verbose` - Print stacktrace and additional error messages @@ -95,7 +95,7 @@ kind: Jenkins spec: master: notifications: - - loggingLevel: info + - level: info verbose: true name: nslack slack: @@ -103,7 +103,7 @@ spec: secret: name: key: - - loggingLevel: info + - level: info verbose: true name: nteams teams: @@ -111,4 +111,4 @@ spec: secret: name: key: -``` \ No newline at end of file +```