JavaScript evaluates the expression config.removeCN == 'true' is evaluated as false when config.removeCN is set to true. This means that the container name was never being removed, even when removeCN was set as true.
As a workaround you can set removeCN: 'true' in the meantime. If this behaviour is intended, it may be helpful to update the docs to state that this config value must be a string.
JavaScript evaluates the expression
config.removeCN == 'true'
is evaluated asfalse
whenconfig.removeCN
is set to true. This means that the container name was never being removed, even when removeCN was set as true.As a workaround you can set removeCN: 'true' in the meantime. If this behaviour is intended, it may be helpful to update the docs to state that this config value must be a string.