Skip to content

Commit

Permalink
Fix broken UCN code (#1085)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomaszGaweda authored Apr 16, 2024
1 parent 3d54706 commit aa36bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/modules/clusters/pages/ucn-enable.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ import com.hazelcast.config.Config;
import com.hazelcast.config.UserCodeNamespaceConfig;
import com.hazelcast.core.Hazelcast;
import com.hazelcast.core.HazelcastInstance;
HazelcastInstance hz = Hazelcast.newHazelcastInstance(config);
public class Member {
public static void main(String[] args) {
Config config = new Config();
config.getNamespacesConfig().setEnabled(true);
HazelcastInstance hz = Hazelcast.newHazelcastInstance(config);
}
}
----
Expand Down

0 comments on commit aa36bb0

Please sign in to comment.