290
ctx context.Context,
291
request *p.GetNamespaceRequest,
293
>
var query gocql.Query
294
>
var err error
295
>
var detail []byte
296
>
var detailEncoding string
297
>
var notificationVersion int64
298
>
var isGlobalNamespace bool
299
>
300
>
if len(request.ID) > 0 && len(request.Name) > 0 {
301
return nil, serviceerror.NewInvalidArgument("GetNamespace operation failed. Both ID and Name specified in request.Namespace.")
303
return nil, serviceerror.NewInvalidArgument("GetNamespace operation failed. Both ID and Name are empty.")
304
}
305
306
>
handleError := func(name string, ID string, err error) error {
metadata_store.go
307
identity := name
308
if gocql.IsNotFoundError(err) {