Skip to content

Commit

Permalink
修复文件管理加载了远程镜像
Browse files Browse the repository at this point in the history
  • Loading branch information
donknap committed Oct 30, 2024
1 parent 1a20e65 commit fad77f5
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions asset/static/7297.3c8c32bb.async.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion asset/static/7297.d8dd71aa.async.js

This file was deleted.

2 changes: 1 addition & 1 deletion asset/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
</head>
<body>
<div id="root"></div>
<script src="/dpanel/static/umi.af9d42b8.js"></script>
<script src="/dpanel/static/umi.ce69ab43.js"></script>
</body>
</html>

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions common/service/plugin/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ func (self plugin) Create() (string, error) {
builder.WithImage(imageUrl, imageTryPull)
builder.WithContainerName(service.ContainerName)

if service.Labels != nil {
for name, value := range service.Labels {
builder.WithLabel(name, value)
}
}
if service.Privileged {
builder.WithPrivileged()
}
Expand Down

0 comments on commit fad77f5

Please sign in to comment.