projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '18323-cwl-gpu2' refs #18323
[arvados.git]
/
lib
/
config
/
load.go
diff --git
a/lib/config/load.go
b/lib/config/load.go
index 888cc828afe74909a11c22b524dd809f3ebd0259..b4a34335b6ddc060984b4b12bfa137a88c54ab87 100644
(file)
--- a/
lib/config/load.go
+++ b/
lib/config/load.go
@@
-6,6
+6,7
@@
package config
import (
"bytes"
import (
"bytes"
+ _ "embed"
"encoding/json"
"errors"
"flag"
"encoding/json"
"errors"
"flag"
@@
-23,6
+24,9
@@
import (
"github.com/sirupsen/logrus"
)
"github.com/sirupsen/logrus"
)
+//go:embed config.default.yml
+var DefaultYAML []byte
+
var ErrNoClustersDefined = errors.New("config does not define any clusters")
type Loader struct {
var ErrNoClustersDefined = errors.New("config does not define any clusters")
type Loader struct {