mirror of https://github.com/dapr/cli.git
				
				
				
			Convert string to lower case (#1137)
Signed-off-by: Shubham Sharma <shubhash@microsoft.com> Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
This commit is contained in:
		
							parent
							
								
									544c1d788a
								
							
						
					
					
						commit
						e926a0f739
					
				| 
						 | 
				
			
			@ -65,7 +65,7 @@ type RunConfig struct {
 | 
			
		|||
 | 
			
		||||
func (meta *DaprMeta) newAppID() string {
 | 
			
		||||
	for {
 | 
			
		||||
		appID := strings.ReplaceAll(sillyname.GenerateStupidName(), " ", "-")
 | 
			
		||||
		appID := strings.ToLower(strings.ReplaceAll(sillyname.GenerateStupidName(), " ", "-"))
 | 
			
		||||
		if !meta.idExists(appID) {
 | 
			
		||||
			return appID
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue