You've already forked mariadb-columnstore-engine
							
							
				mirror of
				https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
				synced 2025-10-31 18:30:33 +03:00 
			
		
		
		
	MCOL-1846 - change the getRegion command
This commit is contained in:
		| @@ -102,7 +102,7 @@ instance="" | |||||||
| AWSCLI="aws ec2 " | AWSCLI="aws ec2 " | ||||||
|  |  | ||||||
| getRegion() { | getRegion() { | ||||||
|         Region=`curl --silent http://169.254.169.254/latest/dynamic/instance-identity/document/region | grep region | cut -d':' -f2 | sed 's/\"//g'  | sed 's/\,//g' | sed -e 's/^[ \t]*//'` |         Region=`curl --fail --silent /dev/null http://169.254.169.254/latest/dynamic/instance-identity/document | grep region | cut -d':' -f2 | sed 's/\"//g'  | sed 's/\,//g' | sed -e 's/^[ \t]*//'` | ||||||
|  |  | ||||||
|         echo $Region |         echo $Region | ||||||
|         return |         return | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user