chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
angular.module('portainer.docker').factory('NodeHelper', [
|
||||
function NodeHelperFactory() {
|
||||
'use strict';
|
||||
return {
|
||||
nodeToConfig: function (node) {
|
||||
return {
|
||||
Name: node.Spec.Name,
|
||||
Role: node.Spec.Role,
|
||||
Labels: node.Spec.Labels,
|
||||
Availability: node.Spec.Availability,
|
||||
};
|
||||
},
|
||||
};
|
||||
},
|
||||
]);
|
||||
Reference in New Issue
Block a user