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:
Shubham Sharma 2022-11-25 10:09:20 +05:30 committed by GitHub
parent 544c1d788a
commit e926a0f739
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
}