func runMigrate() {
	if err := opts.validateAndDefault(); err != nil {
		klog.Fatalf("%v", err)
	}
	copyBinaries()

	target := &EtcdVersionPair{
		version:        MustParseEtcdVersion(opts.targetVersion),
		storageVersion: MustParseEtcdStorageVersion(opts.targetStorage),
	}

	migrate(
		opts.name, opts.port, opts.peerListenUrls, opts.peerAdvertiseUrls, opts.binDir,
		opts.dataDir, opts.etcdDataPrefix, opts.ttlKeysDirectory, opts.initialCluster,
		target, opts.supportedVersions, opts.etcdServerArgs)
}
// runMigrate starts the migration.
runMigrate starts the migration.
// runMigrate starts the migration .
func runMigrate() {
	if err := opts.validateAndDefault(); err != nil {
		klog.Fatalf("%v", err)
	}
	copyBinaries()
	target := &EtcdVersionPair{
		version:        MustParseEtcdVersion(opts.targetVersion),
		storageVersion: MustParseEtcdStorageVersion(opts.targetStorage),
	}
	migrate(
		opts.name, opts.port, opts.peerListenUrls, opts.peerAdvertiseUrls, opts.binDir,
		opts.dataDir, opts.etcdDataPrefix, opts.ttlKeysDirectory, opts.initialCluster,
		target, opts.supportedVersions, opts.etcdServerArgs)
}
func runMigrate ( ) { if err := opts . validateAndDefault ( ) ; err != nil { klog . Fatalf ( " " , err ) } copyBinaries ( ) target := & EtcdVersionPair { version : MustParseEtcdVersion ( opts . targetVersion ) , storageVersion : MustParseEtcdStorageVersion ( opts . targetStorage ) , } migrate ( opts . name , opts . port , opts . peerListenUrls , opts . peerAdvertiseUrls , opts . binDir , opts . dataDir , opts . etcdDataPrefix , opts . ttlKeysDirectory , opts . initialCluster , target , opts . supportedVersions , opts . etcdServerArgs ) }
runMigrate starts the migration.
runMigrate starts the migration .