Skip to content

Commit

Permalink
[FAB-9178] Fix lack of indentation in two notes
Browse files Browse the repository at this point in the history
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 <rpjday@crashcourse.ca>
  • Loading branch information
rpjday committed Mar 27, 2018
1 parent 56e07e1 commit 99db5e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/source/channel_update_tutorial.rst
Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions docs/source/error-handling.rst
Expand Up @@ -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.
Expand Down

0 comments on commit 99db5e5

Please sign in to comment.