Stage/init: fix the order of arguments
Make the order of argumnets in line with how it is used (and also how it is conceptionally closer to the pipeline json document). This makes no practical difference as the two arguments were both just used for computing the hash. Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
6d7cd1b93c
commit
9741087e92
1 changed files with 1 additions and 1 deletions
|
|
@ -276,7 +276,7 @@ def print_header(title, options):
|
|||
|
||||
|
||||
class Stage:
|
||||
def __init__(self, name, base, build, options):
|
||||
def __init__(self, name, build, base, options):
|
||||
m = hashlib.sha256()
|
||||
m.update(json.dumps(name, sort_keys=True).encode())
|
||||
m.update(json.dumps(build, sort_keys=True).encode())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue