Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adam Osuchowski
Kea
Commits
31872754
Commit
31872754
authored
Jan 30, 2014
by
Mukund Sivaraman
Browse files
Merge branch 'trac2756'
parents
06b32bac
7bfadaf4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/datasrc/cache_config.cc
View file @
31872754
...
...
@@ -75,7 +75,8 @@ CacheConfig::CacheConfig(const std::string& datasrc_type,
if
(
!
enabled_
)
{
isc_throw
(
CacheConfigError
,
"The cache must be enabled for the MasterFiles type"
);
"The cache must be enabled for the MasterFiles type: "
<<
datasrc_conf
);
}
typedef
std
::
map
<
std
::
string
,
ConstElementPtr
>
ZoneToFile
;
...
...
@@ -100,7 +101,8 @@ CacheConfig::CacheConfig(const std::string& datasrc_type,
if
(
!
datasrc_conf
.
contains
(
"cache-zones"
))
{
isc_throw
(
NotImplemented
,
"Auto-detection of zones "
"to cache is not yet implemented, supply "
"cache-zones parameter"
);
"cache-zones parameter: "
<<
datasrc_conf
);
// TODO: Auto-detect list of all zones in the
// data source.
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment