Skip to content

Commit

Permalink
Improve user message (#164)
Browse files Browse the repository at this point in the history
The concept of caching is not mentioned in our documentation so we
shouldl avoid complicating things for users by mentioning it in such
a printout.  Same goes for the plugin DB, which is an implementation
detail.

Signed-off-by: Marc Khouzam <kmarc@vmware.com>
  • Loading branch information
marckhouzam authored Apr 4, 2023
1 parent a93ea06 commit cd55b11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/discovery/oci_dbbacked.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func (od *DBBackedOCIDiscovery) fetchInventoryImage() error {
}

// The DB has changed and needs to be updated in the cache.
log.Infof("Updating plugin database cache for %s, this will take a few seconds.", od.image)
log.Infof("Reading plugin inventory for %q, this will take a few seconds.", od.image)

// Get the custom public key path and prepare cosign verifier, if empty, cosign verifier would use embedded public key for verification
customPublicKeyPath := os.Getenv(constants.PublicKeyPathForPluginDiscoveryImageSignature)
Expand Down

0 comments on commit cd55b11

Please sign in to comment.