Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

Commit

Permalink
Fix #2921 adding a getter to access namespace from the path
Browse files Browse the repository at this point in the history
  • Loading branch information
shawkins authored and manusa committed Oct 14, 2021
1 parent 3fac583 commit b694c25
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/io/fabric8/mockwebserver/crud/AttributeSet.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ public int hashCode() {
return attributes != null ? attributes.hashCode() : 0;
}

public Attribute getAttribute(String key) {
return attributes.get(new Key(key));
}

@Override
public String toString() {
return "{" +
Expand Down

0 comments on commit b694c25

Please sign in to comment.