Skip to content

Commit

Permalink
Add support for SumoLogic logging driver
Browse files Browse the repository at this point in the history
  • Loading branch information
Bin Yi committed Sep 27, 2017
1 parent f94beb4 commit 6861b84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions agent/engine/dockerclient/logging_drivers.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const (
AWSLogsDriver LoggingDriver = "awslogs"
SplunklogsDriver LoggingDriver = "splunk"
LogentriesDriver LoggingDriver = "logentries"
SumoLogicDriver LoggingDriver = "sumologic"
)

var LoggingDriverMinimumVersion = map[LoggingDriver]DockerVersion{
Expand All @@ -35,4 +36,5 @@ var LoggingDriverMinimumVersion = map[LoggingDriver]DockerVersion{
AWSLogsDriver: Version_1_21,
SplunklogsDriver: Version_1_22,
LogentriesDriver: Version_1_25,
SumoLogicDriver: Version_1_29,
}
2 changes: 2 additions & 0 deletions agent/engine/dockerclient/versions.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const (
Version_1_26 DockerVersion = "1.26"
Version_1_27 DockerVersion = "1.27"
Version_1_28 DockerVersion = "1.28"
Version_1_29 DockerVersion = "1.29"
)

// getKnownAPIVersions returns all of the API versions that we know about.
Expand All @@ -46,5 +47,6 @@ func getKnownAPIVersions() []DockerVersion {
Version_1_26,
Version_1_27,
Version_1_28,
Version_1_29,
}
}

0 comments on commit 6861b84

Please sign in to comment.