]> www.infradead.org Git - users/hch/nvmetcli.git/commitdiff
nvmetcli: fix up the default config file to agree with the documentation
authorChristoph Hellwig <hch@lst.de>
Thu, 24 Mar 2016 15:20:57 +0000 (16:20 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 24 Mar 2016 15:20:57 +0000 (16:20 +0100)
Signed-off-by: Christoph Hellwig <hch@lst.de>
nvmet/nvme.py

index c1820400cf50d6b28ce8ee40794b5ad5bdcfe73a..e1b76b3f0abb9be1ab95a9ba8e7ab443d09dee98 100644 (file)
@@ -24,7 +24,7 @@ import uuid
 import json
 from glob import iglob as glob
 
-DEFAULT_SAVE_FILE = 'saveconfig.json'
+DEFAULT_SAVE_FILE = '/etc/nvmet.json'
 
 
 class CFSError(Exception):
@@ -230,7 +230,6 @@ class Root(CFSNode):
     def save_to_file(self, savefile=None):
         '''
         Write the configuration in json format to a file.
-        Save file defaults to '/etc/targets/saveconfig.json'.
         '''
         if savefile:
             savefile = os.path.expanduser(savefile)