Compare commits

...

3 Commits

Author SHA1 Message Date
c8759e03d5 cleanup modd.conf 2025-06-29 18:34:59 +02:00
f5abdfdf3f ws-host: add missing Produce 2025-06-29 18:34:51 +02:00
7a55735cc4 ui: remove a debug log 2025-06-29 08:26:43 +02:00
3 changed files with 1 additions and 16 deletions

View File

@ -30,6 +30,7 @@ func (ws wsHost) register(rws *restful.WebService, alterRB func(*restful.RouteBu
for _, rb := range []*restful.RouteBuilder{
rws.GET("").To(ws.get).
Produces(mime.JSON).
Doc("Get the "+ws.hostDoc+"'s details").
Returns(200, "OK", localconfig.Host{}),

View File

@ -65,8 +65,6 @@ createApp({
(this.state.Clusters||[]).forEach((c) => views.push({type: "cluster", name: c.Name, title: `Cluster ${c.Name}`}));
(this.state.Hosts ||[]).forEach((c) => views.push({type: "host", name: c.Name, title: `Host ${c.Name}`}));
console.log("views:",views);
return views.filter((v) => v.name.includes(this.viewFilter));
},
viewObj() {

View File

@ -4,23 +4,9 @@ modd.conf {}
prep: go test ./...
prep: mkdir -p dist
prep: hack/build ./...
#prep: docker build --build-arg GOPROXY=$GOPROXY -t dls .
#daemon +sigterm: bash test-run
}
html/**/* {
prep: hack/build ./cmd/dkl-local-server
}
#dist/dkl-local-server {
# prep: mkdir -p tmp
# daemon +sigterm: dist/dkl-local-server -data tmp -auto-unlock test
#}
dist/dkl-dir2config {
# prep: dist/dkl-dir2config --debug --in test-dir2config
}
#**/*.proto !dist/**/* {
# prep: for mod in @mods; do protoc -I ./ --go_out=plugins=grpc,paths=source_relative:. $mod; done
#}