Skip to content

Commit

Permalink
Merge pull request Commonjava#107 from ligangty/main
Browse files Browse the repository at this point in the history
FIX: Remove cached store when deleting store
  • Loading branch information
ligangty authored Mar 1, 2023
2 parents bd04328 + 9c69560 commit bc645a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<name>Indy :: Service :: Repository</name>
<url>https://github.com/Commonjava/indy-repository-service</url>
<description>Indy Repository Service</description>
<inceptionYear>2011-2022</inceptionYear>
<inceptionYear>2022-2023</inceptionYear>

<scm>
<connection>scm:git:https://github.com/commonjava/indy-repository-service</connection>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ protected ArtifactStore removeArtifactStoreInternal( StoreKey key )

DtxArtifactStore dtxArtifactStore =
storeQuery.removeArtifactStore( key.getPackageType(), key.getType(), key.getName() );
cacheProducer.getCache( ARTIFACT_STORE ).remove( key );
return toArtifactStore( dtxArtifactStore );
}

Expand Down

0 comments on commit bc645a3

Please sign in to comment.