(entityName string)
| 25 | ) |
| 26 | |
| 27 | func entityNameError(entityName string) error { |
| 28 | errMsg := wski18n.T( |
| 29 | "An entity name, '{{.name}}', was provided instead of a namespace. Valid namespaces are of the following format: /NAMESPACE.", |
| 30 | map[string]interface{}{ |
| 31 | "name": entityName, |
| 32 | }) |
| 33 | |
| 34 | return whisk.MakeWskError(errors.New(errMsg), whisk.EXIT_CODE_ERR_GENERAL, whisk.DISPLAY_MSG, whisk.DISPLAY_USAGE) |
| 35 | } |
| 36 | |
| 37 | func entityListError(err error, namespace string, kind string) error { |
| 38 | whisk.Debug(whisk.DbgError, "Client.%s.List(%s) error: %s\n", kind, namespace, err) |
no outgoing calls
no test coverage detected