diff --git a/backend/utils/cloud_storage/client/helper.go b/backend/utils/cloud_storage/client/helper.go index 0c05dc5ac..60723d01d 100644 --- a/backend/utils/cloud_storage/client/helper.go +++ b/backend/utils/cloud_storage/client/helper.go @@ -13,8 +13,6 @@ func loadParamFromVars(key string, isString bool, vars map[string]interface{}) s } return "" } - if isString { - return vars[key].(string) - } - return fmt.Sprintf("%v", vars[key].(float64)) + + return fmt.Sprintf("%v", vars[key]) }