Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sidecar
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
sidecar
Commits
d3dddfdb
Commit
d3dddfdb
authored
Dec 02, 2021
by
suyanlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug
parent
bd1b64f3
Pipeline
#8320
failed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
appchain.go
internal/appchain/appchain.go
+2
-3
start.go
pkg/plugins/start.go
+1
-0
No files found.
internal/appchain/appchain.go
View file @
d3dddfdb
...
...
@@ -16,6 +16,7 @@ import (
"gitlab.33.cn/link33/sidecar/internal/txcrypto"
"gitlab.33.cn/link33/sidecar/model/pb"
"gitlab.33.cn/link33/sidecar/pkg/plugins"
"gitlab.33.cn/link33/sidecar/tool"
)
type
AppChain
interface
{
...
...
@@ -51,9 +52,7 @@ func NewPorts(clients []plugins.Client, cryptor txcrypto.Cryptor, logger logrus.
var
ps
[]
port
.
Port
for
_
,
c
:=
range
clients
{
p
,
err
:=
NewPort
(
c
,
cryptor
,
logger
)
if
err
!=
nil
{
panic
(
err
)
}
tool
.
Asset
(
err
)
ps
=
append
(
ps
,
p
)
}
...
...
pkg/plugins/start.go
View file @
d3dddfdb
...
...
@@ -111,6 +111,7 @@ func CreateClients(appchainConfigs []repo.Appchain, extra []byte) []Client {
err
=
appchain
.
Initialize
(
pluginConfigPath
,
appchainConfig
.
DID
,
extra
)
tool
.
Asset
(
err
)
appchain
.
Bind
(
kernel
)
tool
.
Asset
(
appchain
.
Start
())
clients
=
append
(
clients
,
appchain
)
}
...
...
Write
Preview
Markdown
is supported
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