From 99db5e56b8bf1bfc94f69837ff6755a5f5fde1b2 Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Tue, 27 Mar 2018 03:42:49 -0400 Subject: [PATCH] [FAB-9178] Fix lack of indentation in two notes Two doc files: - channel_update_tutorial.rst - error-handling.rst lack proper indentation in a couple notes, thereby generating a build warning, so fix the indentation. Change-Id: I71cb6c7555baebd13c2744c35e9a48a3001e85bc Signed-off-by: Robert P. J. Day --- docs/source/channel_update_tutorial.rst | 2 +- docs/source/error-handling.rst | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source/channel_update_tutorial.rst b/docs/source/channel_update_tutorial.rst index 9c80e67f14e..32cb842ce88 100644 --- a/docs/source/channel_update_tutorial.rst +++ b/docs/source/channel_update_tutorial.rst @@ -514,7 +514,7 @@ leader: .. note:: This configuration must be the same for all new peers added to the -channel. + channel. 2. To utilize dynamic leader election, configure the peer to use leader election: diff --git a/docs/source/error-handling.rst b/docs/source/error-handling.rst index 60d6c4473a0..a651f87f746 100644 --- a/docs/source/error-handling.rst +++ b/docs/source/error-handling.rst @@ -24,9 +24,9 @@ creation functions (errors.New(), errors.Errorf(), errors.WithMessage(), errors.Wrap(), errors.Wrapf(). .. note:: See https://godoc.org/github.com/pkg/errors for complete documentation -of the available error creation function. Also, refer to the General guidelines -section below for more specific guidelines for using the package for Fabric -code. + of the available error creation function. Also, refer to the General guidelines + section below for more specific guidelines for using the package for Fabric + code. Finally, change the formatting directive for any logger or fmt.Printf() calls from ``%s`` to ``%+v`` to print the call stack along with the error message.