You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
errs=append(errs, fmt.Errorf(T("Health check type must be 'http' to set a health check HTTP endpoint.")))
191
+
errs=append(errs, errors.New(T("Health check type must be 'http' to set a health check HTTP endpoint.")))
190
192
}
191
193
192
194
ifapp.Routes!=nil {
193
195
ifapp.Hosts!=nil {
194
-
errs=append(errs, fmt.Errorf(T("Application {{.AppName}} must not be configured with both 'routes' and 'host'/'hosts'", map[string]interface{}{"AppName": appName})))
196
+
errs=append(errs, errors.New(T("Application {{.AppName}} must not be configured with both 'routes' and 'host'/'hosts'", map[string]interface{}{"AppName": appName})))
195
197
}
196
198
197
199
ifapp.Domains!=nil {
198
-
errs=append(errs, fmt.Errorf(T("Application {{.AppName}} must not be configured with both 'routes' and 'domain'/'domains'", map[string]interface{}{"AppName": appName})))
200
+
errs=append(errs, errors.New(T("Application {{.AppName}} must not be configured with both 'routes' and 'domain'/'domains'", map[string]interface{}{"AppName": appName})))
199
201
}
200
202
201
203
ifapp.NoHostname!=nil {
202
-
errs=append(errs, fmt.Errorf(T("Application {{.AppName}} must not be configured with both 'routes' and 'no-hostname'", map[string]interface{}{"AppName": appName})))
204
+
errs=append(errs, errors.New(T("Application {{.AppName}} must not be configured with both 'routes' and 'no-hostname'", map[string]interface{}{"AppName": appName})))
203
205
}
204
206
}
205
207
206
208
ifapp.BuildpackURL!=nil&&app.DockerImage!=nil {
207
-
errs=append(errs, fmt.Errorf(T("Application {{.AppName}} must not be configured with both 'buildpack' and 'docker'", map[string]interface{}{"AppName": appName})))
209
+
errs=append(errs, errors.New(T("Application {{.AppName}} must not be configured with both 'buildpack' and 'docker'", map[string]interface{}{"AppName": appName})))
208
210
}
209
211
210
212
ifapp.Path!=nil&&app.DockerImage!=nil {
211
-
errs=append(errs, fmt.Errorf(T("Application {{.AppName}} must not be configured with both 'docker' and 'path'", map[string]interface{}{"AppName": appName})))
213
+
errs=append(errs, errors.New(T("Application {{.AppName}} must not be configured with both 'docker' and 'path'", map[string]interface{}{"AppName": appName})))
returnfmt.Sprintf(T("Copying source from app {{.SourceApp}} to target app {{.TargetApp}} in org {{.OrgName}} / space {{.SpaceName}} as {{.Username}}...",
185
+
returnT("Copying source from app {{.SourceApp}} to target app {{.TargetApp}} in org {{.OrgName}} / space {{.SpaceName}} as {{.Username}}...",
0 commit comments