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 ad21c01 commit e215886Copy full SHA for e215886
logger.go
@@ -30,7 +30,7 @@ func (l Logger) Close() error {
30
// GetLogs is used to retrieve a parsable logger object
31
func (s *Shell) GetLogs() (Logger, error) {
32
var url string
33
- if !strings.HasPrefix(s.url, "http://") {
+ if !strings.HasPrefix(s.url, "http://") || !strings.HasPrefix(s.url, "https://") {
34
url = fmt.Sprintf("http://%s/api/v0/log/tail", s.url)
35
} else {
36
url = s.url
0 commit comments