This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -d \ | |
-p 8080:80 \ | |
-e REGISTRY_HOST=$REGISTRY_HOST_IP \ | |
-e REGISTRY_PORT=$REGISTRY_PORT \ | |
-e REGISTRY_PROTOCOL=http \ | |
-e SSL_VERIFY=false \ | |
-e REGISTRY_ALLOW_DELETE=true \ | |
parabuzzle/craneoperator:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Function to change the passed in variable | |
testFn0 = obj => { obj = {}; } | |
// Function to change level one variable | |
testFn1 = obj => { obj.b = 999; } | |
// Function to change level two variable | |
testFn2 = obj => { obj.b.b = 999; } | |
// Directly changing the passed in variable should not affect it |
OlderNewer