Skip to content

Commit

Permalink
back as it was
Browse files Browse the repository at this point in the history
  • Loading branch information
mina1460 committed Jul 27, 2023
1 parent 2660818 commit 729d014
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/jujuapi/access_control.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ func (r *controllerRoot) ListGroups(ctx context.Context) (apiparams.ListGroupRes
func resolveTag(db db.Database, tag string) (*ofganames.Tag, error) {
ctx := context.Background()
matches := jujuURIMatcher.FindStringSubmatch(tag)

resourceUUID := ""
trailer := ""
// We first attempt to see if group3 is a uuid
Expand Down Expand Up @@ -315,7 +314,6 @@ func parseTag(ctx context.Context, db db.Database, key string) (*ofganames.Tag,
return nil, errors.E(op, errors.CodeFailedToParseTupleKey, "tag does not have tuple key delimiter")
}
tagString := key

tag, err := resolveTag(db, tagString)
if err != nil {
zapctx.Debug(ctx, "failed to resolve tuple object", zap.Error(err))
Expand Down

0 comments on commit 729d014

Please sign in to comment.