File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ func loadServiceFrom(rootCfg ConfigProvider) {
248
248
Service .DefaultUserVisibility = Service .AllowedUserVisibilityModes [0 ]
249
249
}
250
250
Service .DefaultUserVisibilityMode = structs .VisibilityModes [Service .DefaultUserVisibility ]
251
-
251
+
252
252
// Process allowed organization visibility modes
253
253
modes = sec .Key ("ALLOWED_ORG_VISIBILITY_MODES" ).Strings ("," )
254
254
if len (modes ) != 0 {
@@ -268,7 +268,7 @@ func loadServiceFrom(rootCfg ConfigProvider) {
268
268
Service .AllowedOrgVisibilityModes = []string {"public" , "limited" , "private" }
269
269
Service .AllowedOrgVisibilityModesSlice = []bool {true , true , true }
270
270
}
271
-
271
+
272
272
Service .DefaultOrgVisibility = sec .Key ("DEFAULT_ORG_VISIBILITY" ).String ()
273
273
if Service .DefaultOrgVisibility == "" {
274
274
Service .DefaultOrgVisibility = Service .AllowedOrgVisibilityModes [0 ]
You can’t perform that action at this time.
0 commit comments