We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d79de56 commit fd04ff1Copy full SHA for fd04ff1
stub_asset.go
@@ -1,14 +1,15 @@
1
+//go:build !ui
2
// +build !ui
3
4
package main
5
6
import (
- assetfs "github.com/elazarl/go-bindata-assetfs"
7
+ assetfs "github.com/elazarl/go-bindata-assetfs"
8
)
9
10
func init() {
- uiEnabled = false
11
- stubHTML = `<!DOCTYPE html>
+ uiEnabled = false
12
+ stubHTML = `<!DOCTYPE html>
13
<html>
14
<p>SDS UI is not available in this binary.</p>
15
</html>
@@ -17,5 +18,5 @@ func init() {
17
18
19
// assetFS is a stub for building Nomad without a UI.
20
func assetFS() *assetfs.AssetFS {
- return nil
21
+ return nil
22
}
0 commit comments