Skip to content

Commit a3e3b0d

Browse files
committed
update version-check condition
1 parent 23f31b1 commit a3e3b0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/runmqserver/qmgr.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ func getQueueManagerDataDir(mounts map[string]string, name string) string {
205205

206206
func getCreateQueueManagerArgs(mounts map[string]string, name string, devMode bool) []string {
207207

208-
mqversionBase := "9.2.0.0"
208+
mqversionBase := "9.2.1.0"
209209

210210
// use "UserExternal" only if we are 9.2.1.0 or above.
211211
oaVal := "user"
@@ -214,7 +214,7 @@ func getCreateQueueManagerArgs(mounts map[string]string, name string, devMode bo
214214
if err != nil {
215215
log.Printf("Error comparing MQ versions for oa,rc: %v", mqVersionCheck)
216216
}
217-
if mqVersionCheck > 0 {
217+
if mqVersionCheck >= 0 {
218218
oaVal = "UserExternal"
219219
}
220220

0 commit comments

Comments
 (0)