Merge "sync and touch Commands Extend the base.DeleteCommand"
This commit is contained in:
		@@ -20,7 +20,7 @@ from designateclient.cli import base
 | 
			
		||||
LOG = logging.getLogger(__name__)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class SyncAllCommand(base.Command):
 | 
			
		||||
class SyncAllCommand(base.DeleteCommand):
 | 
			
		||||
    """Sync Everything"""
 | 
			
		||||
 | 
			
		||||
    def execute(self, parsed_args):
 | 
			
		||||
@@ -29,7 +29,7 @@ class SyncAllCommand(base.Command):
 | 
			
		||||
        LOG.info('Synchronization of all domains scheduled')
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class SyncDomainCommand(base.Command):
 | 
			
		||||
class SyncDomainCommand(base.DeleteCommand):
 | 
			
		||||
    """Sync a single Domain"""
 | 
			
		||||
 | 
			
		||||
    def get_parser(self, prog_name):
 | 
			
		||||
@@ -45,7 +45,7 @@ class SyncDomainCommand(base.Command):
 | 
			
		||||
        LOG.info('Synchronization of domain scheduled')
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class SyncRecordCommand(base.Command):
 | 
			
		||||
class SyncRecordCommand(base.DeleteCommand):
 | 
			
		||||
    """Sync a single Record"""
 | 
			
		||||
 | 
			
		||||
    def get_parser(self, prog_name):
 | 
			
		||||
 
 | 
			
		||||
@@ -21,7 +21,7 @@ from designateclient.cli import base
 | 
			
		||||
LOG = logging.getLogger(__name__)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class TouchDomainCommand(base.Command):
 | 
			
		||||
class TouchDomainCommand(base.DeleteCommand):
 | 
			
		||||
    """Touch a single Domain"""
 | 
			
		||||
 | 
			
		||||
    def get_parser(self, prog_name):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user