Skip to content

Commit

Permalink
LogCodes-Spelling mistake(ERROR_NO_AVAILBLE_PROVIDER->ERROR_NO_AVAILA…
Browse files Browse the repository at this point in the history
…BLE_PROVIDER) (#1250)
  • Loading branch information
crazyStar00 authored Oct 26, 2022
1 parent ea21ef8 commit d53562a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ protected ProviderInfo convertToProviderInfo(String targetIP) {
* @return 服务端
*/
protected SofaRouteException noAvailableProviderException(String serviceKey) {
return new SofaRouteException(LogCodes.getLog(LogCodes.ERROR_NO_AVAILBLE_PROVIDER, serviceKey));
return new SofaRouteException(LogCodes.getLog(LogCodes.ERROR_NO_AVAILABLE_PROVIDER, serviceKey));
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public ProviderInfo select(SofaRequest request, List<ProviderInfo> providerInfos
* @return 服务端
*/
protected SofaRouteException noAvailableProviderException(String serviceKey) {
return new SofaRouteException(LogCodes.getLog(LogCodes.ERROR_NO_AVAILBLE_PROVIDER, serviceKey));
return new SofaRouteException(LogCodes.getLog(LogCodes.ERROR_NO_AVAILABLE_PROVIDER, serviceKey));
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ public class LogCodes {
public static final String ERROR_UNSUPPORT_TYPE = "020050016";

// 02006 addressholder
public static final String ERROR_NO_AVAILBLE_PROVIDER = "020060001";
public static final String ERROR_NO_AVAILABLE_PROVIDER = "020060001";
public static final String LOCALFILEREGISTRY_FAIL_READURL = "020060002";
public static final String ERROR_LOAD_ADDRESS_HOLDER = "020060003";
// 02007 cache
Expand Down

0 comments on commit d53562a

Please # to comment.