Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
anekkanti committed Sep 19, 2023
1 parent 57ef703 commit c1315e8
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions app/namespace.go
Original file line number Diff line number Diff line change
Expand Up @@ -1254,8 +1254,7 @@ func NewNamespaceCommand(getNamespaceClientFn GetNamespaceClientFn, getRequestCl
if err != nil {
return err
}

return PrintProto(res.RequestStatus)
return rc.HandleRequestStatus(ctx, "create export sink", res.RequestStatus)
},
},
{
Expand Down Expand Up @@ -1305,8 +1304,8 @@ func NewNamespaceCommand(getNamespaceClientFn GetNamespaceClientFn, getRequestCl
if err != nil {
return err
}
return rc.HandleRequestStatus(ctx, "create export sink", deleteResp.RequestStatus)

return PrintProto(deleteResp.RequestStatus)
},
},
{
Expand Down Expand Up @@ -1398,8 +1397,7 @@ func NewNamespaceCommand(getNamespaceClientFn GetNamespaceClientFn, getRequestCl
if err != nil {
return err
}

return PrintProto(resp.RequestStatus)
return rc.HandleRequestStatus(ctx, "update export sink", resp.RequestStatus)
},
},
},
Expand Down

0 comments on commit c1315e8

Please sign in to comment.