Add debug comment when singleton reload is skipped (#4625)

This commit is contained in:
Brian Kassouf 2018-05-23 17:52:11 -07:00 committed by GitHub
parent 210df327d1
commit 248b988586
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ func (c *Core) reloadBackendCommon(ctx context.Context, entry *MountEntry, isAut
// We don't want to reload the singleton mounts. They often have specific
// inmemory elements and we don't want to touch them here.
if strutil.StrListContains(singletonMounts, entry.Type) {
c.logger.Debug("Skipping reload of singleton mount", "type", entry.Type)
return nil
}