File tree 8 files changed +12
-11
lines changed
install-manifests/kubernetes
8 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM golang:1.13.5-alpine3.10
2
2
WORKDIR /build
3
3
4
4
# Take the current space cloud version as a argument
5
- ARG SC_VERSION=0.18.3
5
+ ARG SC_VERSION=0.18.4
6
6
7
7
# Copy all the source files
8
8
COPY . .
@@ -16,7 +16,7 @@ RUN GOOS=linux CGO_ENABLED=0 go build -a -ldflags '-s -w -extldflags "-static"'
16
16
RUN echo $SC_VERSION && wget https://storage.googleapis.com/space-cloud/mission-control/mission-control-v$SC_VERSION.zip && unzip mission-control-v$SC_VERSION.zip
17
17
18
18
FROM alpine:3.10
19
- ARG SC_VERSION=0.18.3
19
+ ARG SC_VERSION=0.18.4
20
20
21
21
RUN apk --no-cache add ca-certificates
22
22
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ type Module struct {
44
44
45
45
type loader struct {
46
46
loaderMap map [string ]* dataloader.Loader
47
- dataLoaderLock sync.Mutex
47
+ dataLoaderLock sync.RWMutex
48
48
}
49
49
50
50
// Crud abstracts the implementation crud operations of databases
Original file line number Diff line number Diff line change @@ -88,7 +88,8 @@ func (holder *resultsHolder) fillErrorMessage(err error) {
88
88
}
89
89
90
90
func (m * Module ) getLoader (key string ) (* dataloader.Loader , bool ) {
91
- // Rlock is not required since the function calling has already acquired Rlock
91
+ m .dataLoader .dataLoaderLock .RLock ()
92
+ defer m .dataLoader .dataLoaderLock .RUnlock ()
92
93
loader , ok := m .dataLoader .loaderMap [key ]
93
94
return loader , ok
94
95
}
Original file line number Diff line number Diff line change 5
5
)
6
6
7
7
// BuildVersion is the current version of Space Cloud
8
- const BuildVersion = "0.18.3 "
8
+ const BuildVersion = "0.18.4 "
9
9
10
10
const (
11
11
// One operation returns a single document from the database
Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ spec:
163
163
containers :
164
164
- name : runner
165
165
command : ["./app", "start"]
166
- image : spaceuptech/runner:0.18.3
166
+ image : spaceuptech/runner:0.18.4
167
167
imagePullPolicy : IfNotPresent # IfNotPresent | Always
168
168
env :
169
169
- name : " LOG_LEVEL"
@@ -341,7 +341,7 @@ spec:
341
341
containers :
342
342
- name : gateway
343
343
command : ["./app", "run"]
344
- image : spaceuptech/gateway:0.18.3
344
+ image : spaceuptech/gateway:0.18.4
345
345
imagePullPolicy : IfNotPresent # IfNotPresent | Always
346
346
env :
347
347
- name : " NODE_ID"
Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ spec:
163
163
containers :
164
164
- name : runner
165
165
command : ["./app", "start"]
166
- image : spaceuptech/runner:0.18.3
166
+ image : spaceuptech/runner:0.18.4
167
167
imagePullPolicy : IfNotPresent # IfNotPresent | Always
168
168
env :
169
169
- name : " LOG_LEVEL"
@@ -345,7 +345,7 @@ spec:
345
345
containers :
346
346
- name : gateway
347
347
command : ["./app", "run"]
348
- image : spaceuptech/gateway:0.18.3
348
+ image : spaceuptech/gateway:0.18.4
349
349
imagePullPolicy : IfNotPresent # IfNotPresent | Always
350
350
env :
351
351
- name : " NODE_ID"
Original file line number Diff line number Diff line change 1
1
package model
2
2
3
3
// Version represents the current runner version
4
- const Version string = "v0.18.3 "
4
+ const Version string = "v0.18.4 "
Original file line number Diff line number Diff line change 1
1
package cmd
2
2
3
- const version string = "0.18.3 "
3
+ const version string = "0.18.4 "
You can’t perform that action at this time.
0 commit comments