enable native (formerly naive) snapshotter by default

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
This commit is contained in:
Akihiro Suda
2018-04-02 13:29:19 +09:00
parent bf5112e8ec
commit 83e35b3d3a
7 changed files with 19 additions and 18 deletions

View File

@@ -14,7 +14,7 @@
limitations under the License.
*/
package naive
package native
import (
"context"
@@ -35,7 +35,7 @@ import (
func init() {
plugin.Register(&plugin.Registration{
Type: plugin.SnapshotPlugin,
ID: "naive",
ID: "native",
InitFn: func(ic *plugin.InitContext) (interface{}, error) {
ic.Meta.Platforms = append(ic.Meta.Platforms, platforms.DefaultSpec())
return NewSnapshotter(ic.Root)

View File

@@ -14,7 +14,7 @@
limitations under the License.
*/
package naive
package native
import (
"context"