Skip to content

Commit

Permalink
fix flag type
Browse files Browse the repository at this point in the history
  • Loading branch information
briangann committed Jun 29, 2021
1 parent b8dbc94 commit 4be73a1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## 1.0.4

- Fix startup issue with new flags

## 1.0.3

- OAuth merged
Expand Down
2 changes: 1 addition & 1 deletion pkg/kiosk/anonymous_login.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func GrafanaKioskAnonymous(cfg *Config) {
chromedp.Flag("ignore-certificate-errors", cfg.Target.IgnoreCertificateErrors),
chromedp.Flag("test-type", cfg.Target.IgnoreCertificateErrors),
chromedp.Flag("window-position", cfg.General.WindowPosition),
chromedp.Flag("check-for-update-interval", 31536000),
chromedp.Flag("check-for-update-interval", "31536000"),
chromedp.UserDataDir(dir),
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/kiosk/grafana_com_login.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func GrafanaKioskGCOM(cfg *Config) {
chromedp.Flag("disable-notifications", true),
chromedp.Flag("disable-overlay-scrollbar", true),
chromedp.Flag("window-position", cfg.General.WindowPosition),
chromedp.Flag("check-for-update-interval", 31536000),
chromedp.Flag("check-for-update-interval", "31536000"),
chromedp.UserDataDir(dir),
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/kiosk/grafana_genericoauth_login.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func GrafanaKioskGenericOauth(cfg *Config) {
chromedp.Flag("disable-notifications", true),
chromedp.Flag("disable-overlay-scrollbar", true),
chromedp.Flag("window-position", cfg.General.WindowPosition),
chromedp.Flag("check-for-update-interval", 31536000),
chromedp.Flag("check-for-update-interval", "31536000"),
chromedp.UserDataDir(dir),
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/kiosk/local_login.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func GrafanaKioskLocal(cfg *Config) {
chromedp.Flag("ignore-certificate-errors", cfg.Target.IgnoreCertificateErrors),
chromedp.Flag("test-type", cfg.Target.IgnoreCertificateErrors),
chromedp.Flag("window-position", cfg.General.WindowPosition),
chromedp.Flag("check-for-update-interval", 31536000),
chromedp.Flag("check-for-update-interval", "31536000"),
chromedp.UserDataDir(dir),
}

Expand Down

0 comments on commit 4be73a1

Please sign in to comment.