Skip to content

Commit c317b10

Browse files
committed
Merge branch 'release/4.1.1' into main
2 parents 220f9e6 + f8c3e25 commit c317b10

File tree

6 files changed

+17
-23
lines changed

6 files changed

+17
-23
lines changed

docker/hub.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Supported tags and respective `Dockerfile` links
22

3-
- [`4`, `4.1`, `4.1.0`, `latest` (*docker/Dockerfile*)](https://github.com/uoregon-libraries/rais-image-server/blob/v4.1.0/docker/Dockerfile)
4-
- [`4-alpine`, `4.1-alpine`, `4.1.0-alpine`, `alpine` (*docker/Dockerfile-alpine*)](https://github.com/uoregon-libraries/rais-image-server/blob/v4.1.0/docker/Dockerfile-alpine)
3+
- [`4`, `4.1`, `4.1.1`, `latest` (*docker/Dockerfile*)](https://github.com/uoregon-libraries/rais-image-server/blob/v4.1.1/docker/Dockerfile)
4+
- [`4-alpine`, `4.1-alpine`, `4.1.1-alpine`, `alpine` (*docker/Dockerfile-alpine*)](https://github.com/uoregon-libraries/rais-image-server/blob/v4.1.1/docker/Dockerfile-alpine)
55
- [`3`, `3.3`, `3.3.2`, (*docker/Dockerfile*)](https://github.com/uoregon-libraries/rais-image-server/blob/v3.3.2/docker/Dockerfile)
66
- [`3-alpine`, `3.3-alpine`, `3.3.2-alpine` (*docker/Dockerfile*)](https://github.com/uoregon-libraries/rais-image-server/blob/v3.3.2/docker/Dockerfile-alpine)
77

docker/s3demo/main.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,3 @@ func preptemplates() {
127127
assetT = template.Must(template.Must(layout.Clone()).ParseFiles("asset.go.html"))
128128
adminT = template.Must(template.Must(layout.Clone()).ParseFiles("admin.go.html"))
129129
}
130-
131-
type Data struct {
132-
Zone string
133-
Bucket string
134-
KeyID string
135-
SecretKey string
136-
}

src/cmd/rais-server/main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package main
22

33
import (
4+
"context"
45
"fmt"
56
"net/http"
67
"net/url"
@@ -154,7 +155,7 @@ func handle(srv *servers.Server, pattern string, handler http.Handler) {
154155
func shutdown() {
155156
wait.Add(1)
156157
Logger.Infof("Stopping RAIS...")
157-
servers.Shutdown(nil)
158+
servers.Shutdown(context.Background())
158159

159160
if len(teardownPlugins) > 0 {
160161
Logger.Infof("Tearing down plugins")

src/iiif/url.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ func (id ID) Escaped() string {
2323

2424
// URL represents the different options composed into a IIIF URL request
2525
type URL struct {
26-
Path string
27-
ID ID
28-
Region Region
29-
Size Size
30-
Rotation Rotation
31-
Quality Quality
32-
Format Format
33-
Info bool
26+
Path string
27+
ID ID
28+
Region Region
29+
Size Size
30+
Rotation Rotation
31+
Quality Quality
32+
Format Format
33+
Info bool
3434
}
3535

3636
type pathParts struct {

src/img/cloud_stream.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ import (
1212
"time"
1313

1414
"gocloud.dev/blob"
15-
_ "gocloud.dev/blob/azureblob"
16-
_ "gocloud.dev/blob/fileblob"
17-
_ "gocloud.dev/blob/gcsblob"
18-
_ "gocloud.dev/blob/s3blob"
15+
_ "gocloud.dev/blob/azureblob" // Required for Azure support
16+
_ "gocloud.dev/blob/fileblob" // Required for local file support within the cloud streamer
17+
_ "gocloud.dev/blob/gcsblob" // Required for Google Cloud support
18+
_ "gocloud.dev/blob/s3blob" // Required for AWS S3 support
1919
)
2020

2121
// Environment variables which CloudStream uses to set up S3

src/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
package version
44

55
// Version tells us the app version string
6-
const Version = "4.1.0"
6+
const Version = "4.1.1"

0 commit comments

Comments
 (0)