Loads of minor bugfixes to Shuffle UI
This commit is contained in:
@@ -3312,7 +3312,7 @@ class AppBase:
|
||||
|
||||
newres = json.dumps({
|
||||
"success": False,
|
||||
"reason": "An exception occurred while running this function. See exception for more details and contact support if this persists (support@shuffler.io)",
|
||||
"reason": "An exception occurred while running this function (1). See exception for more details and contact support if this persists (support@shuffler.io)",
|
||||
"exception": e,
|
||||
})
|
||||
break
|
||||
@@ -3343,7 +3343,7 @@ class AppBase:
|
||||
|
||||
newres = json.dumps({
|
||||
"success": False,
|
||||
"reason": "An exception occurred while running this function. See exception for more details and contact support if this persists (support@shuffler.io)",
|
||||
"reason": "An exception occurred while running this function (2). See exception for more details and contact support if this persists (support@shuffler.io)",
|
||||
"exception": e,
|
||||
})
|
||||
break
|
||||
|
||||
@@ -2,9 +2,8 @@ package main
|
||||
|
||||
// Docker
|
||||
import (
|
||||
"github.com/shuffle/shuffle-shared"
|
||||
|
||||
"archive/tar"
|
||||
"github.com/shuffle/shuffle-shared"
|
||||
//"bufio"
|
||||
"path/filepath"
|
||||
//"strconv"
|
||||
|
||||
@@ -2,7 +2,7 @@ module main
|
||||
|
||||
go 1.16
|
||||
|
||||
//replace github.com/shuffle/shuffle-shared => ../../../shuffle-shared
|
||||
replace github.com/shuffle/shuffle-shared => ../../../shuffle-shared
|
||||
|
||||
//replace github.com/frikky/kin-openapi => ../../../../git/kin-openapi
|
||||
//replace github.com/frikky/go-elasticsearch => ../../../../git/go-elasticsearch
|
||||
|
||||
@@ -3187,6 +3187,7 @@ func buildSwaggerApp(resp http.ResponseWriter, body []byte, user shuffle.User) {
|
||||
return
|
||||
}
|
||||
|
||||
swagger.Info.Title = shuffle.FixFunctionName(swagger.Info.Title, swagger.Info.Title, false)
|
||||
if strings.Contains(swagger.Info.Title, " ") {
|
||||
swagger.Info.Title = strings.Replace(swagger.Info.Title, " ", "_", -1)
|
||||
}
|
||||
@@ -4800,7 +4801,6 @@ func runInit(ctx context.Context) {
|
||||
continue
|
||||
}
|
||||
|
||||
log.Printf("ENV: %s", item.Environment)
|
||||
if item.Environment == "cloud" {
|
||||
log.Printf("Skipping cloud schedule")
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user