File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -1001,15 +1001,20 @@ impl DatasetKind {
10011001 }
10021002
10031003 /// Returns true if this dataset is delegated to a non-global zone.
1004+ ///
1005+ /// Note: the `zoned` property of a dataset controls whether or not a
1006+ /// dataset is managed from a non-global zone. This function's intent is
1007+ /// different in the sense that it's asking whether or not a dataset will be
1008+ /// delegated to a non-global zone, not managed by a non-global zone.
10041009 pub fn zoned ( & self ) -> bool {
10051010 use DatasetKind :: * ;
10061011 match self {
10071012 Cockroach | Crucible | Clickhouse | ClickhouseKeeper
10081013 | ClickhouseServer | ExternalDns | InternalDns => true ,
10091014
1010- TransientZoneRoot | TransientZone { .. } | Debug => false ,
1011-
1012- LocalStorage => true ,
1015+ TransientZoneRoot | TransientZone { .. } | Debug | LocalStorage => {
1016+ false
1017+ }
10131018 }
10141019 }
10151020
You can’t perform that action at this time.
0 commit comments