Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLOUDSTACK-10360: Change the method name. #2598

Merged
merged 2 commits into from Apr 30, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -152,7 +152,7 @@ public T valueIn(Long id) {
return value();
}

String value = s_depot != null ? s_depot.scoped(this).getConfigValue(id, this) : null;
String value = s_depot != null ? s_depot.findScopedConfigStorage(this).getConfigValue(id, this) : null;
if (value == null) {
return value();
} else {
Expand Down
Expand Up @@ -166,7 +166,7 @@ public ConfigurationDao global() {
return _configDao;
}

public ScopedConfigStorage scoped(ConfigKey<?> config) {
public ScopedConfigStorage findScopedConfigStorage(ConfigKey<?> config) {
for (ScopedConfigStorage storage : _scopedStorages) {
if (storage.getScope() == config.scope()) {
return storage;
Expand Down