Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
FoghostCn committed Apr 17, 2024
1 parent 878573e commit 45be6f7
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,11 @@ func GetMetadataInfo(app string, instance registry.ServiceInstance, revision str
metadataStorageType = instance.GetMetadata()[constant.MetadataStorageTypePropertyName]
}
if metadataStorageType == constant.RemoteMetadataStorageType {
remoteMetadataServiceImpl, err := extension.GetRemoteMetadataService()
if err == nil {
remoteMetadataServiceImpl, remoteMetadataErr := extension.GetRemoteMetadataService()
if remoteMetadataErr == nil {
metadataInfo, err = remoteMetadataServiceImpl.GetMetadata(instance)
} else {
err = remoteMetadataErr
}
} else {
proxyFactory := extension.GetMetadataServiceProxyFactory(constant.DefaultKey)
Expand Down

0 comments on commit 45be6f7

Please sign in to comment.