]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Punctuation and Copyright changes.
authorsarat inuguri <saratkumar_ivn@symantec.com>
Thu, 18 Dec 2014 18:25:15 +0000 (18:25 +0000)
committersarat inuguri <saratkumar_ivn@symantec.com>
Thu, 18 Dec 2014 18:36:44 +0000 (18:36 +0000)
Very minor changes related to punctuation and removal of an
incorrect copyright.
I had inadvertently checked-in these files with RedHat
copyright, through change-id
Ie4b4785b7c93246147c8d9e6a172621f454301ae. Removing it..

Change-Id: I4611ca15bb0f119facdb11d5757e975cc2645dfa

cinder/tests/test_symantec_cnfs.py
cinder/volume/drivers/symantec_cnfs.py

index d11536344d5d4981da788992478ae560b3ed176e..830863d6abf24e5622f4045a647a88ea0ed3101a 100644 (file)
@@ -1,5 +1,4 @@
 # Copyright (c) 2014 Symantec Corporation
-# Copyright (c) 2014 Red Hat, Inc.
 # All Rights Reserved.
 #
 #    Licensed under the Apache License, Version 2.0 (the "License"); you may
index c46021e4d1e41000295843e852bcf081ca2dc1c1..b11db3fdab3dbe8851e5fa7ccf5bb43950cc833c 100644 (file)
@@ -1,5 +1,4 @@
 # Copyright (c) 2014 Symantec Corporation
-# Copyright (c) 2014 Red Hat, Inc.
 # All Rights Reserved.
 #
 #    Licensed under the Apache License, Version 2.0 (the "License"); you may
@@ -45,7 +44,7 @@ class SymantecCNFSDriver(nfs.NfsDriver):
         opts = self.configuration.nfs_mount_options
         if not opts or opts.find('vers=3') == -1 or (
            opts.find('nfsvers=3')) == -1:
-            msg = _("NFS is not configured to use NFSv3")
+            msg = _("NFS is not configured to use NFSv3.")
             LOG.error(msg)
             raise exception.NfsException(msg)
 
@@ -78,7 +77,7 @@ class SymantecCNFSDriver(nfs.NfsDriver):
         """Delete a snapshot."""
         if not snapshot['provider_location']:
             LOG.warn(_LW('Snapshot %s does not have provider_location '
-                     'specified, skipping'), snapshot['name'])
+                     'specified, skipping.'), snapshot['name'])
             return
         self._ensure_share_mounted(snapshot['provider_location'])
         snap_path = self.local_path(snapshot)
@@ -106,7 +105,7 @@ class SymantecCNFSDriver(nfs.NfsDriver):
         if not os.path.exists(tgt_vol_path):
             self._execute('rm', '-f', tgt_vol_path_spl, run_as_root=True)
             msg = _("Filesnap over NFS is not supported, "
-                    "removing the ::snap:vxfs: file")
+                    "removing the ::snap:vxfs: file.")
             LOG.error(msg)
             raise exception.NfsException(msg)
         tgt_vol['provider_location'] = src_vol['provider_location']